Commit 75906f53 authored by Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal Committed by Sebastian Dröge
Browse files

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.
parent 779e7391
...@@ -3439,9 +3439,9 @@ gst_video_decoder_decode_frame (GstVideoDecoder * decoder, ...@@ -3439,9 +3439,9 @@ gst_video_decoder_decode_frame (GstVideoDecoder * decoder,
frame->abidata.ABI.ts = frame->dts; frame->abidata.ABI.ts = frame->dts;
frame->abidata.ABI.ts2 = frame->pts; frame->abidata.ABI.ts2 = frame->pts;
GST_LOG_OBJECT (decoder, "PTS %" GST_TIME_FORMAT ", DTS %" GST_TIME_FORMAT, GST_LOG_OBJECT (decoder, "PTS %" GST_TIME_FORMAT ", DTS %" GST_TIME_FORMAT
GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (frame->dts)); ", dist %d", GST_TIME_ARGS (frame->pts), GST_TIME_ARGS (frame->dts),
GST_LOG_OBJECT (decoder, "dist %d", frame->distance_from_sync); frame->distance_from_sync);
gst_video_codec_frame_ref (frame); gst_video_codec_frame_ref (frame);
priv->frames = g_list_append (priv->frames, frame); priv->frames = g_list_append (priv->frames, frame);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment