mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
pipeline: Use an object as first argument to GST_WARNING_OBJECT
This commit is contained in:
parent
6aa8ca37ee
commit
fc7967a0b5
1 changed files with 2 additions and 1 deletions
|
@ -346,7 +346,8 @@ pipeline_update_start_time (GstElement * element)
|
|||
if (now != GST_CLOCK_TIME_NONE)
|
||||
GST_ELEMENT_START_TIME (pipeline) = now - element->base_time;
|
||||
else
|
||||
GST_WARNING_OBJECT ("Clock %s returned invalid time, can't calculate "
|
||||
GST_WARNING_OBJECT (element,
|
||||
"Clock %s returned invalid time, can't calculate "
|
||||
"running_time when going to the PAUSED state",
|
||||
GST_OBJECT_NAME (clock));
|
||||
|
||||
|
|
Loading…
Reference in a new issue