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.
This commit is contained in:
Arwed v. Merkatz 2004-08-25 17:12:57 +00:00
parent e01e974e39
commit 503af4bdd6
2 changed files with 4 additions and 1 deletions

View file

@ -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>

View file

@ -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;