Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
luzpaz
gstreamer
Commits
e34d796e
Commit
e34d796e
authored
Dec 01, 2011
by
Stefan Sauer
Browse files
bus: use GST_MESSAGE_SOURCE_NAME() which also takes care of src=NULL.
parent
e6d2da7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
gst/gstbus.c
View file @
e34d796e
...
...
@@ -496,7 +496,7 @@ gst_bus_timed_pop_filtered (GstBus * bus, GstClockTime timeout,
while
((
message
=
g_queue_pop_head
(
bus
->
queue
)))
{
GST_DEBUG_OBJECT
(
bus
,
"got message %p, %s from %s, type mask is %u"
,
message
,
GST_MESSAGE_TYPE_NAME
(
message
),
GST_OBJECT_NAME
(
GST_MESSAGE_SRC
(
message
)
)
,
(
guint
)
types
);
GST_MESSAGE_SRC
_NAME
(
message
),
(
guint
)
types
);
if
((
GST_MESSAGE_TYPE
(
message
)
&
types
)
!=
0
)
{
/* exit the loop, we have a message */
goto
beach
;
...
...
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