mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
videodecoder: Fix unused variable compiler warning if debugging is disabled
This commit is contained in:
parent
e8fed7f04b
commit
9d59b789c7
1 changed files with 3 additions and 4 deletions
|
@ -1736,12 +1736,11 @@ gst_video_decoder_flush_decode (GstVideoDecoder * dec)
|
|||
while (walk) {
|
||||
GList *next;
|
||||
GstVideoCodecFrame *frame = (GstVideoCodecFrame *) (walk->data);
|
||||
GstBuffer *buf = frame->input_buffer;
|
||||
|
||||
GST_DEBUG_OBJECT (dec, "decoding frame %p buffer %p, PTS %" GST_TIME_FORMAT
|
||||
", DTS %" GST_TIME_FORMAT, frame, buf,
|
||||
GST_TIME_ARGS (GST_BUFFER_PTS (buf)),
|
||||
GST_TIME_ARGS (GST_BUFFER_DTS (buf)));
|
||||
", DTS %" GST_TIME_FORMAT, frame, frame->input_buffer,
|
||||
GST_TIME_ARGS (GST_BUFFER_PTS (frame->input_buffer)),
|
||||
GST_TIME_ARGS (GST_BUFFER_DTS (frame->input_buffer)));
|
||||
|
||||
next = walk->next;
|
||||
|
||||
|
|
Loading…
Reference in a new issue