Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
Correctly flush decoder samples even if we could not
copy them to an output buffer. Fixes #319618.
+2005-10-24 Wim Taymans <wim@fluendo.com>
+
+ * ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
+ Correctly flush decoder samples even if we could not
+ copy them to an output buffer. Fixes #319618.
+
2005-10-24 Julien MOUTTE <julien@moutte.net>
* sys/ximage/ximagesink.c: (gst_ximagesink_setcaps):
if (vd->granulepos != -1)
vd->granulepos += sample_count;
- vorbis_synthesis_read (&vd->vd, sample_count);
-
result = vorbis_dec_push (vd, out);
done:
+ vorbis_synthesis_read (&vd->vd, sample_count);
+
/* granulepos is the last sample in the packet */
if (packet->granulepos != -1)
vd->granulepos = packet->granulepos;