projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e1c8b
)
ghostpad: fix g_return_* with new query
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 16 May 2011 15:53:48 +0000
(17:53 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 16 May 2011 15:53:48 +0000
(17:53 +0200)
gst/gstghostpad.c
patch
|
blob
|
history
diff --git
a/gst/gstghostpad.c
b/gst/gstghostpad.c
index
8d6584e
..
4b6e665
100644
(file)
--- a/
gst/gstghostpad.c
+++ b/
gst/gstghostpad.c
@@
-157,7
+157,8
@@
gst_proxy_pad_query_default (GstPad * pad, GstQuery ** query)
GstPad *target;
g_return_val_if_fail (GST_IS_PROXY_PAD (pad), FALSE);
- g_return_val_if_fail (GST_IS_QUERY (query), FALSE);
+ g_return_val_if_fail (query != NULL, FALSE);
+ g_return_val_if_fail (GST_IS_QUERY (*query), FALSE);
target = gst_proxy_pad_get_target (pad);
if (target) {