mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-25 01:54:17 +00:00
Revert "ghostpad: fix g_return_* with new query"
This reverts commit 877c1c28ff
.
This commit is contained in:
parent
e34c26b509
commit
c096199fb9
2 changed files with 2 additions and 3 deletions
|
@ -157,8 +157,7 @@ gst_proxy_pad_query_default (GstPad * pad, GstQuery ** query)
|
||||||
GstPad *target;
|
GstPad *target;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_PROXY_PAD (pad), FALSE);
|
g_return_val_if_fail (GST_IS_PROXY_PAD (pad), FALSE);
|
||||||
g_return_val_if_fail (query != NULL, FALSE);
|
g_return_val_if_fail (GST_IS_QUERY (query), FALSE);
|
||||||
g_return_val_if_fail (GST_IS_QUERY (*query), FALSE);
|
|
||||||
|
|
||||||
target = gst_proxy_pad_get_target (pad);
|
target = gst_proxy_pad_get_target (pad);
|
||||||
if (target) {
|
if (target) {
|
||||||
|
|
|
@ -64,7 +64,7 @@ GstProxyPad* gst_proxy_pad_get_internal (GstProxyPad *pad);
|
||||||
|
|
||||||
const GstQueryType* gst_proxy_pad_query_type_default (GstPad *pad);
|
const GstQueryType* gst_proxy_pad_query_type_default (GstPad *pad);
|
||||||
gboolean gst_proxy_pad_event_default (GstPad *pad, GstEvent *event);
|
gboolean gst_proxy_pad_event_default (GstPad *pad, GstEvent *event);
|
||||||
gboolean gst_proxy_pad_query_default (GstPad *pad, GstQuery **query);
|
gboolean gst_proxy_pad_query_default (GstPad *pad, GstQuery *query);
|
||||||
GstIterator* gst_proxy_pad_iterate_internal_links_default (GstPad *pad);
|
GstIterator* gst_proxy_pad_iterate_internal_links_default (GstPad *pad);
|
||||||
GstFlowReturn gst_proxy_pad_chain_default (GstPad *pad, GstBuffer *buf);
|
GstFlowReturn gst_proxy_pad_chain_default (GstPad *pad, GstBuffer *buf);
|
||||||
GstFlowReturn gst_proxy_pad_chain_list_default (GstPad *pad, GstBufferList *list);
|
GstFlowReturn gst_proxy_pad_chain_list_default (GstPad *pad, GstBufferList *list);
|
||||||
|
|
Loading…
Reference in a new issue