videodecoder: Print GstClockTimeDiff as a signed integer in debug logs
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 3 Nov 2015 13:44:39 +0000 (13:44 +0000)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 3 Nov 2015 13:44:39 +0000 (13:44 +0000)
gst-libs/gst/video/gstvideodecoder.c

index 03e31b70128aed5a43ba5d7278660ddb42fa88c4..8a74efea69f118b347d063e48dbf4dc3c55ec7bd 100644 (file)
@@ -1630,8 +1630,8 @@ gst_video_decoder_src_event_default (GstVideoDecoder * decoder,
       GST_OBJECT_UNLOCK (decoder);
 
       GST_DEBUG_OBJECT (decoder,
-          "got QoS %" GST_TIME_FORMAT ", %" G_GINT64_FORMAT ", %g",
-          GST_TIME_ARGS (timestamp), diff, proportion);
+          "got QoS %" GST_TIME_FORMAT ", %" GST_STIME_FORMAT ", %g",
+          GST_TIME_ARGS (timestamp), GST_STIME_ARGS (diff), proportion);
 
       res = gst_pad_push_event (decoder->sinkpad, event);
       break;