mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
gst-launch: report execution time in GST_TIME_FORMAT
https://bugzilla.gnome.org/show_bug.cgi?id=687523
This commit is contained in:
parent
21830d66c6
commit
8cbdf007a7
1 changed files with 2 additions and 1 deletions
|
@ -1149,7 +1149,8 @@ main (int argc, char *argv[])
|
||||||
|
|
||||||
diff = GST_CLOCK_DIFF (tfthen, tfnow);
|
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"));
|
PRINT (_("Setting pipeline to PAUSED ...\n"));
|
||||||
|
|
Loading…
Reference in a new issue