mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
ges-launch: Format the position printing as in gst-validate and friends
This commit is contained in:
parent
95126cd0ef
commit
1108a2c6ac
1 changed files with 3 additions and 4 deletions
|
@ -515,10 +515,9 @@ _print_position (void)
|
||||||
&position);
|
&position);
|
||||||
gst_element_query_duration (GST_ELEMENT (pipeline), GST_FORMAT_TIME,
|
gst_element_query_duration (GST_ELEMENT (pipeline), GST_FORMAT_TIME,
|
||||||
&duration);
|
&duration);
|
||||||
g_print ("<Position: %" GST_TIME_FORMAT " / %" GST_TIME_FORMAT "/>\r",
|
|
||||||
GST_TIME_ARGS (position), GST_TIME_ARGS (duration));
|
g_print ("<position: %" GST_TIME_FORMAT " duration: %" GST_TIME_FORMAT
|
||||||
GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (pipeline),
|
"/>\r", GST_TIME_ARGS (position), GST_TIME_ARGS (duration));
|
||||||
GST_DEBUG_GRAPH_SHOW_ALL, "ges-launch-position");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue