gst/gstpad.c: Do query on realized pad, similar to how convert/send_event handle this. Also makes sense, since this p...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_query):
Do query on realized pad, similar to how convert/send_event handle
this. Also makes sense, since this pad belongs to the function to
which this query will be sent. Fixes #158163.
This commit is contained in:
Ronald S. Bultje 2004-12-16 23:44:34 +00:00
parent 2b11ffc10c
commit df7ac68e78
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstpad.c: (gst_pad_query):
Do query on realized pad, similar to how convert/send_event handle
this. Also makes sense, since this pad belongs to the function to
which this query will be sent. Fixes #158163.
2004-12-16 Christian Fredrik Kalager Schaller <uraeus@gnome.org> 2004-12-16 Christian Fredrik Kalager Schaller <uraeus@gnome.org>
* docs/manual/appendix-programs.xml: fix pipeline to actually work * docs/manual/appendix-programs.xml: fix pipeline to actually work

View file

@ -4318,7 +4318,7 @@ gst_pad_query (GstPad * pad, GstQueryType type,
g_return_val_if_fail (rpad, FALSE); g_return_val_if_fail (rpad, FALSE);
if (GST_RPAD_QUERYFUNC (rpad)) if (GST_RPAD_QUERYFUNC (rpad))
return GST_RPAD_QUERYFUNC (rpad) (GST_PAD (pad), type, format, value); return GST_RPAD_QUERYFUNC (rpad) (GST_PAD (rpad), type, format, value);
return FALSE; return FALSE;
} }