videodecoder: Print another time difference as a signed integer instead of a huge unsigned one

This commit is contained in:
Sebastian Dröge 2015-10-29 16:52:31 +02:00
parent f17758d9e3
commit 1da79c76a7

View file

@ -2697,9 +2697,9 @@ gst_video_decoder_prepare_finish_frame (GstVideoDecoder *
if (GST_CLOCK_TIME_IS_VALID (frame->pts)) {
if (frame->pts != priv->base_timestamp) {
GST_DEBUG_OBJECT (decoder,
"sync timestamp %" GST_TIME_FORMAT " diff %" GST_TIME_FORMAT,
"sync timestamp %" GST_TIME_FORMAT " diff %" GST_STIME_FORMAT,
GST_TIME_ARGS (frame->pts),
GST_TIME_ARGS (frame->pts - decoder->output_segment.start));
GST_STIME_ARGS (frame->pts - decoder->output_segment.start));
priv->base_timestamp = frame->pts;
priv->base_picture_number = frame->decode_frame_number;
}