vajpegdec: Enhance explanation comment.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2948>
This commit is contained in:
Víctor Manuel Jáquez Leal 2022-09-05 18:32:20 +02:00 committed by GStreamer Marge Bot
parent 230e1e6bb4
commit 1c69fe3fc8

View file

@ -383,7 +383,8 @@ gst_va_jpeg_dec_negotiate (GstVideoDecoder * decoder)
if (base->output_state)
gst_video_codec_state_unref (base->output_state);
/* hack for RGBP rt_format */
/* hack for RGBP rt_format, because only RGBP is exposed as pixel
* format */
if (base->rt_format == RT_FORMAT_RGB)
base->rt_format = VA_RT_FORMAT_RGBP;