summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@collabora.com>2014-01-09 16:31:01 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-03-29 15:19:54 +0100
commitd8e7c46c278450c5ae419a8da8c497a778e4f375 (patch)
treec5d82093182b5557d5d824bedbeed456c7dc31b1
parent655ff7d514192a3bbb4017f6a6d1e4383c3b4e2f (diff)
ges-launch: Format the position printing as in gst-validate and friends
-rw-r--r--tools/ges-launch.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/ges-launch.c b/tools/ges-launch.c
index 29d53582..c59faa8a 100644
--- a/tools/ges-launch.c
+++ b/tools/ges-launch.c
@@ -503,10 +503,9 @@ _print_position (void)
&position);
gst_element_query_duration (GST_ELEMENT (pipeline), GST_FORMAT_TIME,
&duration);
- g_print ("<Position: %" GST_TIME_FORMAT " / %" GST_TIME_FORMAT "/>\r",
- GST_TIME_ARGS (position), GST_TIME_ARGS (duration));
- GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (pipeline),
- GST_DEBUG_GRAPH_SHOW_ALL, "ges-launch-position");
+
+ g_print ("<position: %" GST_TIME_FORMAT " duration: %" GST_TIME_FORMAT
+ "/>\r", GST_TIME_ARGS (position), GST_TIME_ARGS (duration));
}
return TRUE;