diff options
Diffstat (limited to 'gst/id3demux')
-rw-r--r-- | gst/id3demux/gstid3demux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/id3demux/gstid3demux.c b/gst/id3demux/gstid3demux.c index d2f21573..b498639f 100644 --- a/gst/id3demux/gstid3demux.c +++ b/gst/id3demux/gstid3demux.c @@ -444,7 +444,7 @@ gst_id3demux_chain (GstPad * pad, GstBuffer * buf) typefind_buf = id3demux->collect; gst_buffer_ref (typefind_buf); if (!gst_id3demux_trim_buffer (id3demux, &typefind_buf)) - return GST_FLOW_ERROR; + return GST_FLOW_UNEXPECTED; if (typefind_buf == NULL) break; /* Still need more data */ @@ -507,7 +507,7 @@ gst_id3demux_chain (GstPad * pad, GstBuffer * buf) outbuf = id3demux->collect; id3demux->collect = NULL; if (!gst_id3demux_trim_buffer (id3demux, &outbuf)) - return GST_FLOW_ERROR; + return GST_FLOW_UNEXPECTED; } if (outbuf) { if (G_UNLIKELY (id3demux->srcpad == NULL)) { |