gst/gstqueue.c: Check for availability again.

Original commit message from CVS:
* gst/gstqueue.c: (gst_queue_handle_src_query):
Check for availability again.
This commit is contained in:
Ronald S. Bultje 2004-12-09 16:13:18 +00:00
parent 563aa73f77
commit 775fdce96e
3 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstqueue.c: (gst_queue_handle_src_query):
Check for availability again.
2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstcaps.c: (gst_caps_compare_structures):

View file

@ -913,6 +913,8 @@ gst_queue_handle_src_query (GstPad * pad,
GstQueue *queue = GST_QUEUE (gst_pad_get_parent (pad));
gboolean res;
if (!GST_PAD_PEER (queue->sinkpad))
return FALSE;
res = gst_pad_query (GST_PAD_PEER (queue->sinkpad), type, fmt, value);
if (!res)
return FALSE;

View file

@ -913,6 +913,8 @@ gst_queue_handle_src_query (GstPad * pad,
GstQueue *queue = GST_QUEUE (gst_pad_get_parent (pad));
gboolean res;
if (!GST_PAD_PEER (queue->sinkpad))
return FALSE;
res = gst_pad_query (GST_PAD_PEER (queue->sinkpad), type, fmt, value);
if (!res)
return FALSE;