vajpegdec: Enhance explanation comment.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 5 Sep 2022 16:32:20 +0000 (18:32 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 7 Sep 2022 05:57:40 +0000 (05:57 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2948>

subprojects/gst-plugins-bad/sys/va/gstvajpegdec.c

index 90090189d287f5c67b5d79c77fd16adb87cbaba7..cfb0d8aff1c2d7c71c889ccdc6f599cbda983aae 100644 (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;