mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
Merge branch 'master' into 0.11
This commit is contained in:
commit
b8e1506b08
1 changed files with 3 additions and 2 deletions
|
@ -1779,11 +1779,11 @@ gst_collect_pads2_chain (GstPad * pad, GstBuffer * buffer)
|
|||
if (pads->clip_func) {
|
||||
GstBuffer *outbuf = NULL;
|
||||
ret = pads->clip_func (pads, data, buffer, &outbuf, pads->clip_user_data);
|
||||
buffer = outbuf;
|
||||
|
||||
if (G_UNLIKELY (outbuf == NULL))
|
||||
goto clipped;
|
||||
|
||||
buffer = outbuf;
|
||||
if (G_UNLIKELY (ret == GST_FLOW_UNEXPECTED))
|
||||
goto unexpected;
|
||||
else if (G_UNLIKELY (ret != GST_FLOW_OK))
|
||||
|
@ -1864,7 +1864,8 @@ gst_collect_pads2_chain (GstPad * pad, GstBuffer * buffer)
|
|||
unlock_done:
|
||||
GST_COLLECT_PADS2_STREAM_UNLOCK (pads);
|
||||
unref_data (data);
|
||||
gst_buffer_unref (buffer);
|
||||
if (buffer)
|
||||
gst_buffer_unref (buffer);
|
||||
return ret;
|
||||
|
||||
pad_removed:
|
||||
|
|
Loading…
Reference in a new issue