mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +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>
|
||||
|
||||
* 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);
|
||||
}
|
||||
|
||||
if (ret != GST_FLOW_OK)
|
||||
return ret;
|
||||
|
||||
if (*outbuf == NULL)
|
||||
return GST_FLOW_ERROR;
|
||||
|
||||
|
|
Loading…
Reference in a new issue