diff options
author | Arwed v. Merkatz <v.merkatz@gmx.net> | 2004-08-25 17:12:57 +0000 |
---|---|---|
committer | Arwed v. Merkatz <v.merkatz@gmx.net> | 2004-08-25 17:12:57 +0000 |
commit | 503af4bdd639b3c02ad0b98ff55c41e6bc5c0f9b (patch) | |
tree | 98a6274645a7d7d62e037c883df2873e6fc3873f | |
parent | e01e974e39a2ae62106c6df0a3372c03a1b61fd4 (diff) | |
download | gst-plugins-bad-503af4bdd639b3c02ad0b98ff55c41e6bc5c0f9b.tar.gz gst-plugins-bad-503af4bdd639b3c02ad0b98ff55c41e6bc5c0f9b.tar.bz2 gst-plugins-bad-503af4bdd639b3c02ad0b98ff55c41e6bc5c0f9b.zip |
Set XVID_LOWDELAY flag for decoding so files with bframes/packed bitstream are decoded correctly, bug #135407.
Original commit message from CVS:
Set XVID_LOWDELAY flag for decoding so files with bframes/packed bitstream are
decoded correctly, bug #135407.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | ext/xvid/gstxviddec.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,9 @@ enable demuxing of TTA audio streams, fixes bug #148951. * gst/typefind/gsttypefindfunctions.c: (tta_type_find), (plugin_init), enable typefinding for TTA audio files, fixes bug #148711. + * ext/xvid/gstxviddec.c: (gst_xviddec_chain), + set XVID_LOWDELAY flag for decoding so xvid always returns an image, + fixes playback of packed bitstream and xvid with bframes, bug #135407. 2004-08-24 Sebastien Cote <sc5@hermes.usherb.ca> diff --git a/ext/xvid/gstxviddec.c b/ext/xvid/gstxviddec.c index 8cc87594..42c716ff 100644 --- a/ext/xvid/gstxviddec.c +++ b/ext/xvid/gstxviddec.c @@ -228,7 +228,7 @@ gst_xviddec_chain (GstPad * pad, GstData * _data) /* decode and so ... */ gst_xvid_init_struct (xframe); - xframe.general = 0; + xframe.general = XVID_LOWDELAY; xframe.bitstream = (void *) GST_BUFFER_DATA (buf); xframe.length = GST_BUFFER_SIZE (buf); xframe.output.csp = xviddec->csp; |