Package: mplayer
Version: 2:1.3.0-3
Followup-For: Bug #834135

Dear Maintainer,

The issue has been fixed upstream, see
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-June/073497.html

I prepared a patch against the debian package repository to integrate
the fix.

Now I have a package with a working mplayer installed locally, but it
would be great for others if you could upload a new package version with
the fix.

Thanks,
   Antonio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mplayer depends on:
ii  liba52-0.7.4                      0.7.4-18
ii  libaa1                            1.4p5-44
ii  libasound2                        1.1.2-1
ii  libass5                           0.13.2-1
ii  libaudio2                         1.9.4-5
ii  libavcodec57                      7:3.1.3-1+b3
ii  libavformat57                     7:3.1.3-1+b3
ii  libavutil55                       7:3.1.3-1+b3
ii  libbluray1                        1:0.9.3-2
ii  libbs2b0                          3.1.0+dfsg-2.2
ii  libc6                             2.24-2
ii  libcaca0                          0.99.beta19-2+b1
ii  libcdio-cdda1                     0.83-4.2+b1
ii  libcdio-paranoia1                 0.83-4.2+b1
ii  libcdio13                         0.83-4.2+b1
ii  libdca0                           0.0.5-10
ii  libdirectfb-1.2-9                 1.2.10.0-5.2+b1
ii  libdv4                            1.0.0-11
ii  libdvdnav4                        5.0.3-1
ii  libdvdread4                       5.0.3-1
ii  libenca0                          1.19-1
ii  libfaad2                          2.8.0~cvs20150510-1
ii  libfontconfig1                    2.11.0-6.7
ii  libfreetype6                      2.6.3-3+b1
ii  libfribidi0                       0.19.7-1
ii  libgif7                           5.1.4-0.3
ii  libgl1-mesa-glx [libgl1]          12.0.2-1
ii  libjack-jackd2-0 [libjack-0.116]  1.9.10+20150825git1ed50c92~dfsg-2
ii  libjpeg62-turbo                   1:1.5.0-1
ii  liblircclient0                    0.9.0~pre1-1.2
ii  libmad0                           0.15.1b-8
ii  libmpeg2-4                        0.5.1-7
ii  libmpg123-0                       1.22.4-1
ii  libogg0                           1.3.2-1
ii  libopenal1                        1:1.17.2-2
ii  libpng16-16                       1.6.25-1
ii  libpostproc54                     7:3.1.3-1+b3
ii  libpulse0                         9.0-3
ii  libsdl1.2debian                   1.2.15+dfsg1-4
ii  libsmbclient                      2:4.4.5+dfsg-3
ii  libspeex1                         1.2~rc1.2-1
ii  libswresample2                    7:3.1.3-1+b3
ii  libswscale4                       7:3.1.3-1+b3
ii  libtheora0                        1.1.1+dfsg.1-14
ii  libtinfo5                         6.0+20160910-1
ii  libvdpau1                         1.1.1-3
ii  libvorbisidec1                    1.0.2+svn18153-0.2
ii  libx11-6                          2:1.6.3-1
ii  libxext6                          2:1.3.3-1
ii  libxinerama1                      2:1.1.3-1+b1
ii  libxss1                           1:1.2.2-1
ii  libxv1                            2:1.0.10-1+b1
ii  libxvidcore4                      2:1.3.4-1
ii  libxvmc1                          2:1.0.9-1
ii  libxxf86dga1                      2:1.1.4-1+b1
ii  libxxf86vm1                       1:1.1.4-1
ii  zlib1g                            1:1.2.8.dfsg-2+b1

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2               1.0.6-8
ii  fontconfig          2.11.0-6.7
ii  fonts-freefont-ttf  20120503-4
pn  mplayer-doc         <none>
pn  netselect | fping   <none>

-- no debconf information
-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
>From 462f10a73d11367dab08c8c4ffbf28d1c3a144ea Mon Sep 17 00:00:00 2001
From: Antonio Ospite <a...@ao2.it>
Date: Thu, 15 Sep 2016 20:25:57 +0200
Subject: [PATCH] Add mplayer-vf-screenshot-avcodec_open2-fix.patch
X-Face: z*RaLf`X<@C75u6Ig9}{oW$H;1_\2t5)({*|jhM<pyWR#k60!#=#>/Vb;]yA5<GWI5`6u&+
 ;6b'@y|8w"wB;4/e!7wYYrcqdJFY,~%Gk_4]cq$Ei/7<j&N3ah(m`ku?pX.&+~:_/wC~dwn^)MizBG
 !pE^+iDQQ1yC6^,)YDKkxDd!T>\I~93>J<_`<4)A{':UrE

Gbp-Dch: ignore
---
 debian/changelog                                      |  8 ++++++++
 .../mplayer-vf-screenshot-avcodec_open2-fix.patch     | 19 +++++++++++++++++++
 debian/patches/series                                 |  1 +
 3 files changed, 28 insertions(+)
 create mode 100644 debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch

diff --git a/debian/changelog b/debian/changelog
index f895d27..80b647e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mplayer (2:1.3.0-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches: add mplayer-vf-screenshot-avcodec_open2-fix.patch from
+    upstream (Closes: #834135)
+
+ -- Antonio Ospite <a...@ao2.it>  Thu, 15 Sep 2016 20:23:51 +0200
+
 mplayer (2:1.3.0-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch b/debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch
new file mode 100644
index 0000000..77e9791
--- /dev/null
+++ b/debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch
@@ -0,0 +1,19 @@
+See http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-June/073497.html
+
+Fixes Debian bug #834135
+
+---
+ libmpcodecs/vf_screenshot.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/libmpcodecs/vf_screenshot.c
++++ b/libmpcodecs/vf_screenshot.c
+@@ -86,6 +86,8 @@ static int config(struct vf_instance *vf
+         vf->priv->avctx->pix_fmt = AV_PIX_FMT_RGB24;
+         vf->priv->avctx->width = d_width;
+         vf->priv->avctx->height = d_height;
++        vf->priv->avctx->time_base.num = 1;
++        vf->priv->avctx->time_base.den = 1;
+         vf->priv->avctx->compression_level = 0;
+         if (avcodec_open2(vf->priv->avctx, avcodec_find_encoder(AV_CODEC_ID_PNG), NULL)) {
+             mp_msg(MSGT_VFILTER, MSGL_FATAL, "Could not open libavcodec PNG encoder\n");
diff --git a/debian/patches/series b/debian/patches/series
index 0ad6c4e..1272b72 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0100_svn37857_CVE-2016-4352.patch
 0200_fix_spelling_error_in_binary.patch
 0201_PATH_MAX_HURD.patch
+mplayer-vf-screenshot-avcodec_open2-fix.patch
-- 
2.9.3

Reply via email to