mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
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:
parent
563aa73f77
commit
775fdce96e
3 changed files with 9 additions and 0 deletions
|
@ -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):
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue