mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
mp3parse: propagate flow errors upstream.
Remove a wrong GST_FLOW_IS_FATAL call. When pushing fails, mp3parse should always return the error upstream.
This commit is contained in:
parent
49c2fdd4f9
commit
2ca354e3ab
1 changed files with 1 additions and 1 deletions
|
@ -1527,7 +1527,7 @@ gst_mp3parse_handle_data (GstMPEGAudioParse * mp3parse, gboolean at_eos)
|
|||
if (!mp3parse->skip) {
|
||||
mp3parse->resyncing = FALSE;
|
||||
flow = gst_mp3parse_emit_frame (mp3parse, bpf, mode, crc);
|
||||
if (GST_FLOW_IS_FATAL (flow))
|
||||
if (flow != GST_FLOW_OK)
|
||||
break;
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (mp3parse, "skipping buffer of %d bytes", bpf);
|
||||
|
|
Loading…
Reference in a new issue