GNOME Bugzilla – Bug 757480
Use GST_STIME_FORMAT and GST_STIME_ARGS with GstClockTimeDiff
Last modified: 2015-11-02 15:52:39 UTC
Created attachment 314641 [details] [review] patch for tests/examples/seek/scrubby.c GST_STIME_FORMAT and GST_STIME_ARGS where added to gstreamer/gst/gstclock.h in 2015-06-15, but it looks like not all instances of GstClockTimeDiff were changed to use these. I attach an example of this switch to using these macros that handle the potential negative values of GstClockTimeDiff better. If this looks good, I can fix all other instances.
Review of attachment 314641 [details] [review]: Looks good. Feel free to port where needed, having a -00:01 instead of a big value is always better in traces.
Awesome. Thanks for both the review and for writing GST_STIME_FORMAT and GST_STIME_ARGS Nicolas! :)
Review of attachment 314641 [details] [review]: commit fcfb9a77943d5954aca3b4c6f3176a5b64a6ec7f Author: Luis de Bethencourt <luisbg@osg.samsung.com> Date: Mon Nov 2 14:06:39 2015 +0000 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