gst-launch: report execution time in GST_TIME_FORMAT

https://bugzilla.gnome.org/show_bug.cgi?id=687523
This commit is contained in:
Andrzej Bieniek 2012-11-03 16:59:39 +00:00 committed by Wim Taymans
parent 21830d66c6
commit 8cbdf007a7

View file

@ -1149,7 +1149,8 @@ main (int argc, char *argv[])
diff = GST_CLOCK_DIFF (tfthen, tfnow);
PRINT (_("Execution ended after %" G_GINT64_FORMAT " ns.\n"), diff);
PRINT (_("Execution ended after %" GST_TIME_FORMAT "\n"),
GST_TIME_ARGS (diff));
}
PRINT (_("Setting pipeline to PAUSED ...\n"));