videodecoder: Print GstClockTimeDiff as a signed integer in debug logs
authorSebastian Dröge <sebastian@centricular.com>
Thu, 29 Oct 2015 14:01:26 +0000 (16:01 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 29 Oct 2015 14:01:26 +0000 (16:01 +0200)
gst-libs/gst/video/gstvideodecoder.c

index f8a5869..c156e3d 100644 (file)
@@ -4024,9 +4024,9 @@ gst_video_decoder_get_max_decode_time (GstVideoDecoder *
     deadline = G_MAXINT64;
 
   GST_LOG_OBJECT (decoder, "earliest %" GST_TIME_FORMAT
-      ", frame deadline %" GST_TIME_FORMAT ", deadline %" GST_TIME_FORMAT,
+      ", frame deadline %" GST_TIME_FORMAT ", deadline %" GST_STIME_FORMAT,
       GST_TIME_ARGS (earliest_time), GST_TIME_ARGS (frame->deadline),
-      GST_TIME_ARGS (deadline));
+      GST_STIME_ARGS (deadline));
 
   GST_OBJECT_UNLOCK (decoder);