mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 16:52:42 +00:00
ext/ffmpeg/gstffmpegdec.c: Fix B-frame DivX5/XviD display by removing the truncated flag when not needed.
Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect): Fix B-frame DivX5/XviD display by removing the truncated flag when not needed. * gst-libs/ext/ffmpeg/patch/autotools.diff: Remove link to libavcodec - it causes symbol conflicts (why?).
This commit is contained in:
parent
7b63c14e2b
commit
1abaeb885c
2 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-03-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect):
|
||||
Fix B-frame DivX5/XviD display by removing the truncated flag when
|
||||
not needed.
|
||||
* gst-libs/ext/ffmpeg/patch/autotools.diff:
|
||||
Remove link to libavcodec - it causes symbol conflicts (why?).
|
||||
|
||||
2004-02-29 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* HACKING:
|
||||
|
|
|
@ -235,8 +235,11 @@ gst_ffmpegdec_connect (GstPad *pad,
|
|||
gst_ffmpeg_caps_to_codectype (oclass->in_plugin->type,
|
||||
caps, ffmpegdec->context);
|
||||
|
||||
/* we dont send complete frames */
|
||||
if (oclass->in_plugin->capabilities & CODEC_CAP_TRUNCATED)
|
||||
/* we dont send complete frames - FIXME: we need a 'framed' property
|
||||
* in caps */
|
||||
if (oclass->in_plugin->capabilities & CODEC_CAP_TRUNCATED &&
|
||||
(ffmpegdec->context->codec_id == CODEC_ID_MPEG1VIDEO ||
|
||||
ffmpegdec->context->codec_id == CODEC_ID_MPEG2VIDEO))
|
||||
ffmpegdec->context->flags |= CODEC_FLAG_TRUNCATED;
|
||||
|
||||
/* do *not* draw edges */
|
||||
|
|
Loading…
Reference in a new issue