mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
mimdec: Stop decoding if can't push
This commit is contained in:
parent
456456401a
commit
80bc16f1e2
1 changed files with 3 additions and 0 deletions
|
@ -301,6 +301,9 @@ gst_mim_dec_chain (GstPad * pad, GstBuffer * buf)
|
|||
gst_buffer_set_caps (out_buf, caps);
|
||||
gst_caps_unref (caps);
|
||||
res = gst_pad_push (mimdec->srcpad, out_buf);
|
||||
|
||||
if (res != GST_FLOW_OK)
|
||||
break;
|
||||
}
|
||||
|
||||
out:
|
||||
|
|
Loading…
Reference in a new issue