diff -Nru gst-plugins-good1.0-1.14.4/debian/changelog gst-plugins-good1.0-1.14.4/debian/changelog --- gst-plugins-good1.0-1.14.4/debian/changelog 2018-10-03 10:55:34.000000000 +0000 +++ gst-plugins-good1.0-1.14.4/debian/changelog 2019-08-14 22:29:39.000000000 +0000 @@ -1,3 +1,9 @@ +gst-plugins-good1.0 (1.14.4-1+rpi1) bullseye-staging; urgency=medium + + * Apply upstream fix for libvpx 1.8. + + -- Peter Michael Green Wed, 14 Aug 2019 22:29:39 +0000 + gst-plugins-good1.0 (1.14.4-1) unstable; urgency=medium * New upstream bugfix release diff -Nru gst-plugins-good1.0-1.14.4/debian/patches/fix-vpx-1.8.patch gst-plugins-good1.0-1.14.4/debian/patches/fix-vpx-1.8.patch --- gst-plugins-good1.0-1.14.4/debian/patches/fix-vpx-1.8.patch 1970-01-01 00:00:00.000000000 +0000 +++ gst-plugins-good1.0-1.14.4/debian/patches/fix-vpx-1.8.patch 2019-08-14 22:28:26.000000000 +0000 @@ -0,0 +1,58 @@ +commit b6e6f1ae73375ef66a5748069843aaed1a83e6a6 +Author: Jan Alexander Steffens (heftig) +Date: Tue Feb 5 22:14:18 2019 +0100 + + vpx: Fix build against libvpx 1.8 + + The deprecated debug visualizer was removed. + +diff --git a/configure.ac b/configure.ac +index 5e4cff126..8c20e5081 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1054,6 +1054,10 @@ AG_GST_CHECK_FEATURE(VPX, [VPX decoder], vpx, [ + AC_DEFINE(HAVE_VPX_1_4, 1, [Defined if the VPX library version is 1.4 or bigger]) + ], [true]) + ++ PKG_CHECK_MODULES(VPX_180, vpx >= 1.8.0, [ ++ AC_DEFINE(HAVE_VPX_1_8, 1, [Defined if the VPX library version is 1.8 or bigger]) ++ ], [true]) ++ + LIBS="$OLD_LIBS" + CFLAGS="$OLD_CFLAGS" + fi +diff --git a/ext/vpx/gstvpxdec.c b/ext/vpx/gstvpxdec.c +index c3f0f625f..da4322513 100644 +--- a/ext/vpx/gstvpxdec.c ++++ b/ext/vpx/gstvpxdec.c +@@ -62,6 +62,7 @@ gst_vpx_dec_post_processing_flags_get_type (void) + {C_FLAGS (VP8_DEBLOCK), "Deblock", "deblock"}, + {C_FLAGS (VP8_DEMACROBLOCK), "Demacroblock", "demacroblock"}, + {C_FLAGS (VP8_ADDNOISE), "Add noise", "addnoise"}, ++#ifndef HAVE_VPX_1_8 + {C_FLAGS (VP8_DEBUG_TXT_FRAME_INFO), + "Print frame information", + "visualize-frame-info"}, +@@ -74,6 +75,7 @@ gst_vpx_dec_post_processing_flags_get_type (void) + {C_FLAGS (VP8_DEBUG_TXT_RATE_INFO), + "Print video rate info", + "visualize-rate-info"}, ++#endif + {C_FLAGS (VP8_MFQE), "Multi-frame quality enhancement", "mfqe"}, + {0, NULL, NULL} + }; +diff --git a/ext/vpx/meson.build b/ext/vpx/meson.build +index 6ed440728..0d2340b32 100644 +--- a/ext/vpx/meson.build ++++ b/ext/vpx/meson.build +@@ -48,6 +48,10 @@ if vpx_dep.found() + vpx_args += '-DHAVE_VPX_1_4' + endif + ++ if dependency('vpx', version : '>=1.8.0', required : false).found() ++ vpx_args += '-DHAVE_VPX_1_8' ++ endif ++ + gstvpx = library('gstvpx', + vpx_sources, + c_args : gst_plugins_good_args + vpx_args, diff -Nru gst-plugins-good1.0-1.14.4/debian/patches/series gst-plugins-good1.0-1.14.4/debian/patches/series --- gst-plugins-good1.0-1.14.4/debian/patches/series 2018-09-17 06:57:49.000000000 +0000 +++ gst-plugins-good1.0-1.14.4/debian/patches/series 2019-08-14 22:29:00.000000000 +0000 @@ -0,0 +1 @@ +fix-vpx-1.8.patch