mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
examples: use GST_STIME_FORMAT for GstClockTimeDiff
GST_STIME_FORMAT is more appropriate for GstClockTimeDiff since it can handle negative values better. https://bugzilla.gnome.org/show_bug.cgi?id=757480
This commit is contained in:
parent
443171bb4c
commit
fcfb9a7794
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ do_seek (GtkWidget * widget, gboolean flush, gboolean segment)
|
|||
|
||||
diff = cur_time - prev_time;
|
||||
|
||||
GST_DEBUG ("diff: %" GST_TIME_FORMAT, GST_TIME_ARGS (diff));
|
||||
GST_DEBUG ("diff: %" GST_STIME_FORMAT, GST_STIME_ARGS (diff));
|
||||
|
||||
start = prev_range * duration / RANGE_PREC;
|
||||
/* play 50 milliseconds */
|
||||
|
|
Loading…
Reference in a new issue