summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-12-11 20:23:58 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-12-11 20:23:58 +0000
commit428a4e9669aaa24686bd3fdf052f37a81c4c95da (patch)
treed1cc86ef01df22d66b4d9da838a4938c6eaf3b21 /tools
parent9aca6f57c3877e5ef43ea0cb846862700aa9a954 (diff)
Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as we don't have HAVE_POSIX_TIMERS in publi...
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstclock.h: * gst/gstdebugutils.c: * gst/gstinfo.c: * gst/gstutils.c: * gst/gstutils.h: * libs/gst/base/gstbasesink.c: * tools/gst-launch.c: Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as we don't have HAVE_POSIX_TIMERS in public headers. Thanks Tim for spotting.
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-launch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gst-launch.c b/tools/gst-launch.c
index 01c92ecfba..73efd78d5a 100644
--- a/tools/gst-launch.c
+++ b/tools/gst-launch.c
@@ -773,9 +773,9 @@ main (int argc, char *argv[])
goto end;
}
- GST_GET_TIMESTAMP (tfthen);
+ tfthen = gst_util_get_timestamp ();
caught_error = event_loop (pipeline, TRUE, GST_STATE_PLAYING);
- GST_GET_TIMESTAMP (tfnow);
+ tfnow = gst_util_get_timestamp ();
diff = GST_CLOCK_DIFF (tfthen, tfnow);