mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
gst/wavparse/gstwavparse.c: Handle premature EOS gracefully.
Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_stream_data): Handle premature EOS gracefully.
This commit is contained in:
parent
a1d0655f73
commit
6de492dea8
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-06-13 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/wavparse/gstwavparse.c: (gst_wavparse_stream_data):
|
||||
Handle premature EOS gracefully.
|
||||
|
||||
2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek):
|
||||
|
|
|
@ -1450,6 +1450,10 @@ found_eos:
|
|||
}
|
||||
pull_error:
|
||||
{
|
||||
/* check if we got EOS */
|
||||
if (res == GST_FLOW_UNEXPECTED)
|
||||
goto found_eos;
|
||||
|
||||
GST_DEBUG_OBJECT (wav, "Error getting %" G_GINT64_FORMAT " bytes from the "
|
||||
"sinkpad (dataleft = %" G_GINT64_FORMAT ")", desired, wav->dataleft);
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue