Hello community, here is the log from the commit of package gstreamer-plugins-vaapi for openSUSE:Factory checked in at 2017-03-02 19:36:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi (Old) and /work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-vaapi" Thu Mar 2 19:36:17 2017 rev:14 rq:460491 version:1.10.4 Changes: -------- --- /work/SRC/openSUSE:Factory/gstreamer-plugins-vaapi/gstreamer-plugins-vaapi.changes 2017-02-21 13:49:48.600916678 +0100 +++ /work/SRC/openSUSE:Factory/.gstreamer-plugins-vaapi.new/gstreamer-plugins-vaapi.changes 2017-03-02 19:36:18.316383850 +0100 @@ -1,0 +2,9 @@ +Thu Feb 23 19:36:16 UTC 2017 - zai...@opensuse.org + +- Update to version 1.10.4: + + Bugs fixed: bgo#777506, bgo#778010. +- Drop gstreamer-plugins-vaapi-vaapipostproc-set-GST_VAAPI.patch + and gstreamer-plugins-vaapi-h264-reduce-frame-gaps.patch: Fixed + upstream. + +------------------------------------------------------------------- @@ -5 +14 @@ - gstreamer-plugins-vaapi-h264-reduce-frame-gaps.patch:: Add two + gstreamer-plugins-vaapi-h264-reduce-frame-gaps.patch: Add two Old: ---- gstreamer-plugins-vaapi-h264-reduce-frame-gaps.patch gstreamer-plugins-vaapi-vaapipostproc-set-GST_VAAPI.patch gstreamer-vaapi-1.10.3.tar.xz New: ---- gstreamer-vaapi-1.10.4.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-plugins-vaapi.spec ++++++ --- /var/tmp/diff_new_pack.wT8Wkr/_old 2017-03-02 19:36:18.964292164 +0100 +++ /var/tmp/diff_new_pack.wT8Wkr/_new 2017-03-02 19:36:18.968291598 +0100 @@ -19,17 +19,13 @@ %define gst_branch 1.0 Name: gstreamer-plugins-vaapi -Version: 1.10.3 +Version: 1.10.4 Release: 0 Summary: Gstreamer VA-API plugins License: LGPL-2.1+ Group: Productivity/Multimedia/Other Url: https://gstreamer.freedesktop.org/ Source0: https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-%{version}.tar.xz -# PATCH-FIX-UPSTREAM gstreamer-plugins-vaapi-vaapipostproc-set-GST_VAAPI.patch zai...@opensuse.org -- vaapipostproc: set GST_VAAPI_POSTPROC_FLAG_SIZE according to src caps -Patch0: gstreamer-plugins-vaapi-vaapipostproc-set-GST_VAAPI.patch -# PATCH-FIX-UPSTREAM gstreamer-plugins-vaapi-h264-reduce-frame-gaps.patch bgo#777506 zai...@opensuse.org -- libs: decoder: h264: reduce frame number of gaps -Patch1: gstreamer-plugins-vaapi-h264-reduce-frame-gaps.patch BuildRequires: Mesa-devel BuildRequires: Mesa-libGLESv3-devel BuildRequires: gtk-doc @@ -91,8 +87,6 @@ %prep %setup -q -n gstreamer-vaapi-%{version} -%patch0 -p1 -%patch1 -p1 %build %configure \ ++++++ gstreamer-vaapi-1.10.3.tar.xz -> gstreamer-vaapi-1.10.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/ChangeLog new/gstreamer-vaapi-1.10.4/ChangeLog --- old/gstreamer-vaapi-1.10.3/ChangeLog 2017-01-30 15:10:18.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/ChangeLog 2017-02-23 14:28:37.000000000 +0100 @@ -1,9 +1,37 @@ +=== release 1.10.4 === + +2017-02-23 Sebastian Dröge <sl...@coaxion.net> + + * configure.ac: + releasing 1.10.4 + +2017-02-07 16:17:39 +0900 Hyunjun Ko <zz...@igalia.com> + + * gst-libs/gst/vaapi/gstvaapidecoder_h264.c: + libs: decoder: h264: reduce frame number of gaps + Reduce frame num gaps so that we don't have to create unnecessary + dummy pictures, just throw them away. + Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaq...@intel.com> + https://bugzilla.gnome.org/show_bug.cgi?id=777506 + +2017-02-01 14:32:45 +0900 Hyunjun Ko <zz...@igalia.com> + + * gst/vaapi/gstvaapipostproc.c: + vaapipostproc: set GST_VAAPI_POSTPROC_FLAG_SIZE according to src caps + A value of width/height property should be set to out caps, + if negotiation had been going properly. + So we can use srcpad_info when making decision of scaling. + https://bugzilla.gnome.org/show_bug.cgi?id=778010 + === release 1.10.3 === -2017-01-30 Sebastian Dröge <sl...@coaxion.net> +2017-01-30 16:29:18 +0200 Sebastian Dröge <sebast...@centricular.com> + * ChangeLog: + * NEWS: * configure.ac: - releasing 1.10.3 + * gstreamer-vaapi.doap: + Release 1.10.3 2017-01-20 19:57:52 +0100 Víctor Manuel Jáquez Leal <victorx.jaq...@intel.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/Makefile.in new/gstreamer-vaapi-1.10.4/Makefile.in --- old/gstreamer-vaapi-1.10.3/Makefile.in 2017-01-30 14:56:10.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/Makefile.in 2017-02-23 11:33:02.000000000 +0100 @@ -186,8 +186,8 @@ $(top_srcdir)/build-aux/ltmain.sh \ $(top_srcdir)/build-aux/missing AUTHORS COPYING.LIB ChangeLog \ INSTALL NEWS README build-aux/compile build-aux/config.guess \ - build-aux/config.sub build-aux/depcomp build-aux/install-sh \ - build-aux/ltmain.sh build-aux/missing + build-aux/config.sub build-aux/install-sh build-aux/ltmain.sh \ + build-aux/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/NEWS new/gstreamer-vaapi-1.10.4/NEWS --- old/gstreamer-vaapi-1.10.3/NEWS 2017-01-30 15:10:53.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/NEWS 2017-02-23 14:29:10.000000000 +0100 @@ -1,8 +1,8 @@ # GStreamer 1.10 Release Notes GStreamer 1.10.0 was originally released on 1st November 2016. -The latest bug-fix release in the 1.10 series is [1.10.3](#1.10.3) and was -released on 30 January 2017. +The latest bug-fix release in the 1.10 series is [1.10.4](#1.10.4) and was +released on 23 February 2017. The GStreamer team is proud to announce a new major feature release in the stable 1.x API series of your favourite cross-platform multimedia framework! @@ -13,7 +13,7 @@ See [https://gstreamer.freedesktop.org/releases/1.10/][latest] for the latest version of this document. -*Last updated: Monday 30 Jan 2017, 12:00 UTC [(log)][gitlog]* +*Last updated: Thursday 23 Feb 2017, 15:00 UTC [(log)][gitlog]* [latest]: https://gstreamer.freedesktop.org/releases/1.10/ [gitlog]: https://cgit.freedesktop.org/gstreamer/www/log/src/htdocs/releases/1.10/release-notes-1.10.md @@ -1136,10 +1136,13 @@ #### Major bugfixes in 1.10.3 - Various fixes for crashes, assertions, deadlocks and memory leaks on fuzzed - input files and in other situations + input files and in other situations (CVE-2016-10198, CVE-2016-10199, + CVE-2017-5837, CVE-2017-5838, CVE-2017-5839, CVE-2017-5840, CVE-2017-5841, + CVE-2017-5842, CVE-2017-5843, CVE-2017-5844, CVE-2017-5845, CVE-2017-5846) - Regression fixes for souphttpsrc with redirection tracking and retrying - Regression fix for gst-rtsp-server not handling TCP-only medias anymore - Various other bugfixes the RTP/RTSP codebase + - Fix for gmodule on 64 bit Android, it was never working before there - vp8enc works again on 32 bit Windows - Fixes to Opus PLC handling in the decoder - Fix for stream corruption in multihandlesink when removing clients @@ -1152,6 +1155,32 @@ [buglist-1.10.3]: https://bugzilla.gnome.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&classification=Platform&limit=0&list_id=187054&order=bug_id&product=GStreamer&query_format=advanced&resolution=FIXED&target_milestone=1.10.3 +<a name="1.10.4"></a> + +### 1.10.4 + +The third 1.10 bug-fix release (1.10.4) was released on 23 February 2017. +This release only contains bugfixes and it should be safe to update from 1.10.x. + +#### Major bugfixes in 1.10.4 + + - Various fixes for crashes, assertions, deadlocks and memory leaks on fuzzed + input files and in other situations (CVE-2017-5847, CVE-2017-5848) + - More regression fixes for souphttpsrc redirection tracking + - Regression fix for gmodule on 32 bit Android, which was introduced as part + of the 64 bit Android fix in 1.10.3 and broke the androidmedia plugin + - Various bugfixes for regressions and other problems in the V4L2 plugin + - Fix for 5.1, 6.1 and 7.1 channel layouts for Vorbis + - Fixes for timestamp generation of Android video encoder element + - gst-libav was updated to ffmpeg 3.2.4, fixing a couple of CVEs + - ... and many, many more! + +For a full list of bugfixes see [Bugzilla][buglist-1.10.4]. Note that this is +not the full list of changes. For the full list of changes please refer to the +GIT logs or ChangeLogs of the particular modules. + +[buglist-1.10.4]: https://bugzilla.gnome.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&classification=Platform&limit=0&list_id=187054&order=bug_id&product=GStreamer&query_format=advanced&resolution=FIXED&target_milestone=1.10.4 + ## Known Issues - iOS builds with iOS 6 SDK and old C++ STL. You need to select iOS 6 instead @@ -1185,4 +1214,3 @@ Jan Schmidt, Wim Taymans, Matthew Waters* *License: [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)* - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/configure new/gstreamer-vaapi-1.10.4/configure --- old/gstreamer-vaapi-1.10.3/configure 2017-01-30 14:56:10.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/configure 2017-02-23 11:33:01.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for GStreamer VA-API Plug-ins 1.10.3. +# Generated by GNU Autoconf 2.69 for GStreamer VA-API Plug-ins 1.10.4. # # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='GStreamer VA-API Plug-ins' PACKAGE_TARNAME='gstreamer-vaapi' -PACKAGE_VERSION='1.10.3' -PACKAGE_STRING='GStreamer VA-API Plug-ins 1.10.3' +PACKAGE_VERSION='1.10.4' +PACKAGE_STRING='GStreamer VA-API Plug-ins 1.10.4' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer' PACKAGE_URL='' @@ -1579,7 +1579,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures GStreamer VA-API Plug-ins 1.10.3 to adapt to many kinds of systems. +\`configure' configures GStreamer VA-API Plug-ins 1.10.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1651,7 +1651,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GStreamer VA-API Plug-ins 1.10.3:";; + short | recursive ) echo "Configuration of GStreamer VA-API Plug-ins 1.10.4:";; esac cat <<\_ACEOF @@ -1873,7 +1873,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GStreamer VA-API Plug-ins configure 1.10.3 +GStreamer VA-API Plug-ins configure 1.10.4 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2288,7 +2288,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GStreamer VA-API Plug-ins $as_me 1.10.3, which was +It was created by GStreamer VA-API Plug-ins $as_me 1.10.4, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3271,7 +3271,7 @@ # Define the identity of the package. PACKAGE='gstreamer-vaapi' - VERSION='1.10.3' + VERSION='1.10.4' cat >>confdefs.h <<_ACEOF @@ -3482,9 +3482,9 @@ - PACKAGE_VERSION_MAJOR=$(echo 1.10.3 | cut -d'.' -f1) - PACKAGE_VERSION_MINOR=$(echo 1.10.3 | cut -d'.' -f2) - PACKAGE_VERSION_MICRO=$(echo 1.10.3 | cut -d'.' -f3) + PACKAGE_VERSION_MAJOR=$(echo 1.10.4 | cut -d'.' -f1) + PACKAGE_VERSION_MINOR=$(echo 1.10.4 | cut -d'.' -f2) + PACKAGE_VERSION_MICRO=$(echo 1.10.4 | cut -d'.' -f3) @@ -3495,7 +3495,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5 $as_echo_n "checking nano version... " >&6; } - NANO=$(echo 1.10.3 | cut -d'.' -f4) + NANO=$(echo 1.10.4 | cut -d'.' -f4) if test x"$NANO" = x || test "x$NANO" = "x0" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5 @@ -8330,10 +8330,10 @@ done - GST_CURRENT=1003 + GST_CURRENT=1004 GST_REVISION=0 - GST_AGE=1003 - GST_LIBVERSION=1003:0:1003 + GST_AGE=1004 + GST_LIBVERSION=1004:0:1004 @@ -20376,7 +20376,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by GStreamer VA-API Plug-ins $as_me 1.10.3, which was +This file was extended by GStreamer VA-API Plug-ins $as_me 1.10.4, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20442,7 +20442,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -GStreamer VA-API Plug-ins config.status 1.10.3 +GStreamer VA-API Plug-ins config.status 1.10.4 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/configure.ac new/gstreamer-vaapi-1.10.4/configure.ac --- old/gstreamer-vaapi-1.10.3/configure.ac 2017-01-30 14:56:04.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/configure.ac 2017-02-23 11:13:00.000000000 +0100 @@ -1,7 +1,7 @@ # gstreamer-vaapi package version number m4_define([gst_vaapi_major_version], [1]) m4_define([gst_vaapi_minor_version], [10]) -m4_define([gst_vaapi_micro_version], [3]) +m4_define([gst_vaapi_micro_version], [4]) m4_define([gst_vaapi_nano_version], [0]) m4_define([gst_vaapi_version], [gst_vaapi_major_version.gst_vaapi_minor_version.gst_vaapi_micro_version]) @@ -16,9 +16,9 @@ dnl - interfaces added -> increment AGE dnl - interfaces removed -> AGE = 0 # gstreamer-vaapi library (libtool) version number -m4_define([gst_vaapi_lt_current], [1003]) +m4_define([gst_vaapi_lt_current], [1004]) m4_define([gst_vaapi_lt_revision], [0]) -m4_define([gst_vaapi_lt_age], [1003]) +m4_define([gst_vaapi_lt_age], [1004]) # glib version number m4_define([glib_version], [2.40]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/docs/plugins/html/api-index-full.html new/gstreamer-vaapi-1.10.4/docs/plugins/html/api-index-full.html --- old/gstreamer-vaapi-1.10.3/docs/plugins/html/api-index-full.html 2017-01-30 15:12:39.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/docs/plugins/html/api-index-full.html 2017-02-23 14:29:23.000000000 +0100 @@ -25,7 +25,7 @@ <a name="api-index-full"></a>API Index</h1></div></div></div> <a name="idx"></a><a name="idx"></a><h3 class="title"></h3> <dt> -<a class="link" href="gstreamer-vaapi-plugins-vaapih264enc.html#GstVaapiEncodeH264--cabac" title="The “cabac” property">GstVaapiEncodeH264:cabac</a>, object property in <a class="link" href="gstreamer-vaapi-plugins-vaapih264enc.html" title="vaapih264enc">vaapih264enc</a> +<a class="link" href="gstreamer-vaapi-plugins-vaapih264enc.html#GstVaapiEncodeH264--cpb-length" title="The “cpb-length” property">GstVaapiEncodeH264:cpb-length</a>, object property in <a class="link" href="gstreamer-vaapi-plugins-vaapih264enc.html" title="vaapih264enc">vaapih264enc</a> </dt> <dd></dd> <a name="idxG"></a><h3 class="title">G</h3> @@ -58,7 +58,7 @@ </dt> <dd></dd> <dt> -<a class="link" href="gstreamer-vaapi-plugins-vaapih264enc.html#GstVaapiEncodeH264--cpb-length" title="The “cpb-length” property">GstVaapiEncodeH264:cpb-length</a>, object property in <a class="link" href="gstreamer-vaapi-plugins-vaapih264enc.html" title="vaapih264enc">vaapih264enc</a> +<a class="link" href="gstreamer-vaapi-plugins-vaapih264enc.html#GstVaapiEncodeH264--cabac" title="The “cabac” property">GstVaapiEncodeH264:cabac</a>, object property in <a class="link" href="gstreamer-vaapi-plugins-vaapih264enc.html" title="vaapih264enc">vaapih264enc</a> </dt> <dd></dd> <dt> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/docs/plugins/html/gstreamer-vaapi-plugins-plugin-vaapi.html new/gstreamer-vaapi-1.10.4/docs/plugins/html/gstreamer-vaapi-plugins-plugin-vaapi.html --- old/gstreamer-vaapi-1.10.3/docs/plugins/html/gstreamer-vaapi-plugins-plugin-vaapi.html 2017-01-30 15:12:39.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/docs/plugins/html/gstreamer-vaapi-plugins-plugin-vaapi.html 2017-02-23 14:29:23.000000000 +0100 @@ -42,7 +42,7 @@ </tr> <tr> <td><p><span class="term">version</span></p></td> -<td>1.10.3</td> +<td>1.10.4</td> </tr> <tr> <td><p><span class="term">run-time license</span></p></td> Binary files old/gstreamer-vaapi-1.10.3/docs/plugins/html/home.png and new/gstreamer-vaapi-1.10.4/docs/plugins/html/home.png differ Binary files old/gstreamer-vaapi-1.10.3/docs/plugins/html/left-insensitive.png and new/gstreamer-vaapi-1.10.4/docs/plugins/html/left-insensitive.png differ Binary files old/gstreamer-vaapi-1.10.3/docs/plugins/html/left.png and new/gstreamer-vaapi-1.10.4/docs/plugins/html/left.png differ Binary files old/gstreamer-vaapi-1.10.3/docs/plugins/html/right-insensitive.png and new/gstreamer-vaapi-1.10.4/docs/plugins/html/right-insensitive.png differ Binary files old/gstreamer-vaapi-1.10.3/docs/plugins/html/right.png and new/gstreamer-vaapi-1.10.4/docs/plugins/html/right.png differ Binary files old/gstreamer-vaapi-1.10.3/docs/plugins/html/up-insensitive.png and new/gstreamer-vaapi-1.10.4/docs/plugins/html/up-insensitive.png differ Binary files old/gstreamer-vaapi-1.10.3/docs/plugins/html/up.png and new/gstreamer-vaapi-1.10.4/docs/plugins/html/up.png differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/docs/plugins/inspect/plugin-vaapi.xml new/gstreamer-vaapi-1.10.4/docs/plugins/inspect/plugin-vaapi.xml --- old/gstreamer-vaapi-1.10.3/docs/plugins/inspect/plugin-vaapi.xml 2017-01-30 15:11:07.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/docs/plugins/inspect/plugin-vaapi.xml 2017-02-23 14:29:17.000000000 +0100 @@ -3,7 +3,7 @@ <description>VA-API based elements</description> <filename>../../gst/vaapi/.libs/libgstvaapi.so</filename> <basename>libgstvaapi.so</basename> - <version>1.10.3</version> + <version>1.10.4</version> <license>LGPL</license> <source>gstreamer-vaapi</source> <package>gstreamer-vaapi</package> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/gst/vaapi/gstvaapipostproc.c new/gstreamer-vaapi-1.10.4/gst/vaapi/gstvaapipostproc.c --- old/gstreamer-vaapi-1.10.3/gst/vaapi/gstvaapipostproc.c 2017-01-30 14:56:02.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/gst/vaapi/gstvaapipostproc.c 2017-02-23 11:08:52.000000000 +0100 @@ -981,10 +981,12 @@ postproc->format != DEFAULT_FORMAT) postproc->flags |= GST_VAAPI_POSTPROC_FLAG_FORMAT; - if ((postproc->width || postproc->height) && - postproc->width != GST_VIDEO_INFO_WIDTH (&postproc->sinkpad_info) && - postproc->height != GST_VIDEO_INFO_HEIGHT (&postproc->sinkpad_info)) + if (GST_VIDEO_INFO_WIDTH (&postproc->srcpad_info) != + GST_VIDEO_INFO_WIDTH (&postproc->sinkpad_info) + && GST_VIDEO_INFO_HEIGHT (&postproc->srcpad_info) != + GST_VIDEO_INFO_HEIGHT (&postproc->sinkpad_info)) postproc->flags |= GST_VAAPI_POSTPROC_FLAG_SIZE; + return TRUE; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/gst-libs/gst/vaapi/gstvaapidecoder_h264.c new/gstreamer-vaapi-1.10.4/gst-libs/gst/vaapi/gstvaapidecoder_h264.c --- old/gstreamer-vaapi-1.10.3/gst-libs/gst/vaapi/gstvaapidecoder_h264.c 2017-01-30 14:56:02.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/gst-libs/gst/vaapi/gstvaapidecoder_h264.c 2017-02-23 11:08:52.000000000 +0100 @@ -3116,6 +3116,7 @@ GstVaapiDecoderH264Private *const priv = &decoder->priv; GstH264SPS *const sps = get_sps (decoder); const gint32 MaxFrameNum = 1 << (sps->log2_max_frame_num_minus4 + 4); + gint32 prev_frame_num; GstVaapiFrameStore *prev_frame; GstVaapiPicture *base_picture; GstVaapiPictureH264 *lost_picture, *prev_picture; @@ -3143,8 +3144,20 @@ lost_slice_hdr.dec_ref_pic_marking.adaptive_ref_pic_marking_mode_flag = 0; /* XXX: this process is incorrect for MVC */ - /* XXX: optimize to reduce the number of dummy pictures created */ - priv->frame_num = priv->prev_ref_frame_num; + /* Reduce frame num gaps so we don't have to create unnecessary + * dummy pictures */ + prev_frame_num = priv->prev_ref_frame_num; + if (prev_frame_num > slice_hdr->frame_num) + prev_frame_num -= MaxFrameNum; + + if ((slice_hdr->frame_num - prev_frame_num) - 1 > sps->num_ref_frames) { + prev_frame_num = (slice_hdr->frame_num - sps->num_ref_frames) - 1; + + if (prev_frame_num < 0) + prev_frame_num += MaxFrameNum; + } + priv->frame_num = prev_frame_num; + for (;;) { priv->prev_ref_frame_num = priv->frame_num; priv->frame_num = (priv->prev_ref_frame_num + 1) % MaxFrameNum; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gstreamer-vaapi-1.10.3/gstreamer-vaapi.doap new/gstreamer-vaapi-1.10.4/gstreamer-vaapi.doap --- old/gstreamer-vaapi-1.10.3/gstreamer-vaapi.doap 2017-01-30 14:56:04.000000000 +0100 +++ new/gstreamer-vaapi-1.10.4/gstreamer-vaapi.doap 2017-02-23 11:08:52.000000000 +0100 @@ -27,6 +27,15 @@ <release> <Version> + <revision>1.10.4</revision> + <branch>1.10</branch> + <created>2017-02-23</created> + <file-release rdf:resource="http://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.10.4.tar.xz" /> + </Version> + </release> + + <release> + <Version> <revision>1.10.3</revision> <branch>1.10</branch> <created>2017-01-30</created>