Subject: CVS commit: pkgsrc/multimedia/gst-plugins1-libav
From: Patrick Welche
Date: 2017-11-18 00:21:06
Message id: 20171117232106.9B3D4FB3F@cvs.NetBSD.org

Log Message:
gst-plugins1-libav: fix mp4 playback

From Jana Saout in https://bugzilla.gnome.org/show_bug.cgi?id=789193

Not meant as "fix" but as temporary workaround for people bothered
by this issue:

This quick & dirty hack replaces the deprecated call to
avcodec_decode_video2 by calls to avcodec_send_packet and
avcodec_receive_frame.

Note that this is hack is really ugly, because the API really isn't
meant to be used this way (the assumption is that each call to
avcodec_send_packet will produce at most one new frame) and also
the error handling and probably other cases are not handled correctly.

However, MP4 videos seem to play fine for me.

Files:
RevisionActionfile
1.36modifypkgsrc/multimedia/gst-plugins1-libav/Makefile
1.26modifypkgsrc/multimedia/gst-plugins1-libav/distinfo
1.1addpkgsrc/multimedia/gst-plugins1-libav/patches/patch-ext_libav_gstavviddec.c