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:
Jan Schmidt 2006-01-27 17:00:09 +00:00
parent 2b5b4217d4
commit ed0038e685
2 changed files with 9 additions and 0 deletions

View file

@ -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),

View file

@ -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;