mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
pad: improve debugging
This commit is contained in:
parent
35cc371363
commit
8380949994
1 changed files with 6 additions and 1 deletions
|
@ -3406,6 +3406,7 @@ no_iter:
|
||||||
gboolean
|
gboolean
|
||||||
gst_pad_query (GstPad * pad, GstQuery * query)
|
gst_pad_query (GstPad * pad, GstQuery * query)
|
||||||
{
|
{
|
||||||
|
gboolean res;
|
||||||
GstPadQueryFunction func;
|
GstPadQueryFunction func;
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_PAD (pad), FALSE);
|
g_return_val_if_fail (GST_IS_PAD (pad), FALSE);
|
||||||
|
@ -3416,7 +3417,11 @@ gst_pad_query (GstPad * pad, GstQuery * query)
|
||||||
if ((func = GST_PAD_QUERYFUNC (pad)) == NULL)
|
if ((func = GST_PAD_QUERYFUNC (pad)) == NULL)
|
||||||
goto no_func;
|
goto no_func;
|
||||||
|
|
||||||
return func (pad, query);
|
res = func (pad, query);
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (pad, "sent query %p, result %d", query, res);
|
||||||
|
|
||||||
|
return res;
|
||||||
|
|
||||||
no_func:
|
no_func:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue