mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-22 02:13:46 +00:00
ext/libvisual/visual.c: When pad_alloc returns a GstFlowReturn other than GST_FLOW_OK, make sure it is passed upstream.
Original commit message from CVS: * ext/libvisual/visual.c: (get_buffer): When pad_alloc returns a GstFlowReturn other than GST_FLOW_OK, make sure it is passed upstream.
This commit is contained in:
parent
2b5b4217d4
commit
ed0038e685
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
|
* ext/libvisual/visual.c: (get_buffer):
|
||||||
|
When pad_alloc returns a GstFlowReturn other
|
||||||
|
than GST_FLOW_OK, make sure it is passed upstream.
|
||||||
|
|
||||||
2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
|
2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
|
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
|
||||||
|
|
|
@ -363,6 +363,9 @@ get_buffer (GstVisual * visual, GstBuffer ** outbuf)
|
||||||
visual->video->bpp, GST_PAD_CAPS (visual->srcpad), outbuf);
|
visual->video->bpp, GST_PAD_CAPS (visual->srcpad), outbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ret != GST_FLOW_OK)
|
||||||
|
return ret;
|
||||||
|
|
||||||
if (*outbuf == NULL)
|
if (*outbuf == NULL)
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue