Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
c8acf02f
Commit
c8acf02f
authored
Mar 15, 2012
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pad: comment and debug improvement
parent
f0084ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gst/gstpad.c
gst/gstpad.c
+4
-3
No files found.
gst/gstpad.c
View file @
c8acf02f
...
...
@@ -2767,8 +2767,6 @@ typedef struct
static
gboolean
query_forward_func
(
GstPad
*
pad
,
QueryData
*
data
)
{
/* for each pad we send to, we should ref the query; it's up
* to downstream to unref again when handled. */
GST_LOG_OBJECT
(
pad
,
"query peer %p (%s) of %s:%s"
,
data
->
query
,
GST_EVENT_TYPE_NAME
(
data
->
query
),
GST_DEBUG_PAD_NAME
(
pad
));
...
...
@@ -2826,6 +2824,9 @@ gst_pad_query_default (GstPad * pad, GstObject * parent, GstQuery * query)
break
;
}
GST_DEBUG_OBJECT
(
pad
,
"%sforwarding %p (%s) query"
,
(
forward
?
""
:
"not "
),
query
,
GST_QUERY_TYPE_NAME
(
query
));
if
(
forward
)
{
QueryData
data
;
...
...
@@ -2838,7 +2839,7 @@ gst_pad_query_default (GstPad * pad, GstObject * parent, GstQuery * query)
if
(
data
.
dispatched
)
{
ret
=
data
.
result
;
}
else
{
/* nothing dispatched,
could b
e drained */
/* nothing dispatched,
assum
e drained */
if
(
GST_QUERY_TYPE
(
query
)
==
GST_QUERY_DRAIN
)
ret
=
TRUE
;
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment