mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
bus: use GST_MESSAGE_SOURCE_NAME() which also takes care of src=NULL.
This commit is contained in:
parent
e6d2da7cf8
commit
e34d796e41
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue