mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
Don't try to continue parsing stuff after an error but skip the junk
Original commit message from CVS: Don't try to continue parsing stuff after an error but skip the junk
This commit is contained in:
parent
66776ccfa7
commit
ff9836e8aa
1 changed files with 2 additions and 0 deletions
|
@ -456,6 +456,7 @@ gst_mad_chain (GstPad *pad, GstBuffer *buffer)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* recoverable errors pass */
|
/* recoverable errors pass */
|
||||||
|
goto next;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* calculate beginning of next frame */
|
/* calculate beginning of next frame */
|
||||||
|
@ -544,6 +545,7 @@ gst_mad_chain (GstPad *pad, GstBuffer *buffer)
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_pad_push (mad->srcpad, outbuffer);
|
gst_pad_push (mad->srcpad, outbuffer);
|
||||||
|
next:
|
||||||
|
|
||||||
/* figure out how many bytes mad consumed */
|
/* figure out how many bytes mad consumed */
|
||||||
consumed = mad->stream.next_frame - mad_input_buffer;
|
consumed = mad->stream.next_frame - mad_input_buffer;
|
||||||
|
|
Loading…
Reference in a new issue