From 75906f53d172dfbd646e695005f460691fe83a31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 9 Apr 2015 19:18:58 +0200 Subject: [PATCH] videodecoder: squash two message logs into one There were two consecutive log messages in gst_video_decoder_decode_frame(). Given the information they provide, it is more efficient to squash them into a single one. --- gst-libs/gst/video/gstvideodecoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/video/gstvideodecoder.c b/gst-libs/gst/video/gstvideodecoder.c index cbeb847..3dd82f0 100644 --- a/gst-libs/gst/video/gstvideodecoder.c +++ b/gst-libs/gst/video/gstvideodecoder.c @@ -3439,9 +3439,9 @@ gst_video_decoder_decode_frame (GstVideoDecoder * decoder, frame->abidata.ABI.ts = frame->dts; frame->abidata.ABI.ts2 = frame->pts; - GST_LOG_OBJECT (decoder, "PTS %" GST_TIME_FORMAT ", DTS %" GST_TIME_FORMAT, - GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (frame->dts)); - GST_LOG_OBJECT (decoder, "dist %d", frame->distance_from_sync); + GST_LOG_OBJECT (decoder, "PTS %" GST_TIME_FORMAT ", DTS %" GST_TIME_FORMAT + ", dist %d", GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (frame->dts), + frame->distance_from_sync); gst_video_codec_frame_ref (frame); priv->frames = g_list_append (priv->frames, frame); -- 2.7.4