libav: avviddec: log the old resolution when updating the pool

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7913>
This commit is contained in:
Guillaume Desmottes 2024-11-18 15:09:43 +01:00 committed by GStreamer Marge Bot
parent 7d49740269
commit ac04d9b7b1

View file

@ -902,8 +902,9 @@ gst_ffmpegviddec_ensure_internal_pool (GstFFMpegVidDec * ffmpegdec,
ffmpegdec->pool_format == picture->format) ffmpegdec->pool_format == picture->format)
return; return;
GST_DEBUG_OBJECT (ffmpegdec, "Updating internal pool (%i, %i)", GST_DEBUG_OBJECT (ffmpegdec, "Updating internal pool (%i, %i) -> (%i, %i)",
picture->width, picture->height); ffmpegdec->pool_width, ffmpegdec->pool_height, picture->width,
picture->height);
/* if we are negotiating from get_buffer, then renegotiate later in order /* if we are negotiating from get_buffer, then renegotiate later in order
* to potentially use a downstream pool */ * to potentially use a downstream pool */