mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 21:12:26 +00:00
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.
This commit is contained in:
parent
779e739142
commit
75906f53d1
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue