Control: tags 888388 + pending
Dear maintainer,
I've prepared an NMU for freshplayerplugin (versioned as 0.3.5-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.
Cheers
--
Sebastian Ramacher
diff -Nru freshplayerplugin-0.3.5/debian/changelog freshplayerplugin-0.3.5/debian/changelog
--- freshplayerplugin-0.3.5/debian/changelog 2016-05-03 10:08:58.0 +0200
+++ freshplayerplugin-0.3.5/debian/changelog 2018-07-11 23:14:16.0 +0200
@@ -1,3 +1,10 @@
+freshplayerplugin (0.3.5-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/patches: Fix build with ffmpeg 4.0. (Closes: #888388)
+
+ -- Sebastian Ramacher Wed, 11 Jul 2018 23:14:16 +0200
+
freshplayerplugin (0.3.5-1) unstable; urgency=medium
* New upstream release
diff -Nru freshplayerplugin-0.3.5/debian/patches/ffmpeg4.0.patch freshplayerplugin-0.3.5/debian/patches/ffmpeg4.0.patch
--- freshplayerplugin-0.3.5/debian/patches/ffmpeg4.0.patch 1970-01-01 01:00:00.0 +0100
+++ freshplayerplugin-0.3.5/debian/patches/ffmpeg4.0.patch 2018-07-11 23:13:36.0 +0200
@@ -0,0 +1,20 @@
+Description: Fix FTBFS with FFmpeg 4.0
+Origin: backport, https://github.com/i-rinat/freshplayerplugin/commit/934aa9c24d34f8203744b56e4ac6e8599446ca02
+Bug-Debian: https://bugs.debian.org/888388
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/ppb_video_decoder.c
b/src/ppb_video_decoder.c
+@@ -542,9 +542,9 @@ initialize_decoder(struct pp_video_decod
+ goto err;
+ }
+
+-if (vd->avcodec->capabilities & CODEC_CAP_TRUNCATED) {
+-trace_info("%s, codec have CODEC_CAP_TRUNCATED\n", __func__);
+-vd->avctx->flags |= CODEC_FLAG_TRUNCATED;
++if (vd->avcodec->capabilities & AV_CODEC_CAP_TRUNCATED) {
++trace_info("%s, codec have AV_CODEC_CAP_TRUNCATED\n", __func__);
++vd->avctx->flags |= AV_CODEC_FLAG_TRUNCATED;
+ }
+
+ vd->avctx->opaque = vd;
diff -Nru freshplayerplugin-0.3.5/debian/patches/series freshplayerplugin-0.3.5/debian/patches/series
--- freshplayerplugin-0.3.5/debian/patches/series 2016-05-03 10:08:58.0 +0200
+++ freshplayerplugin-0.3.5/debian/patches/series 2018-07-11 23:13:38.0 +0200
@@ -1 +1,2 @@
typo-from-lintian.patch
+ffmpeg4.0.patch
signature.asc
Description: PGP signature