mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
vajpegdec: Enhance explanation comment.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2948>
This commit is contained in:
parent
230e1e6bb4
commit
1c69fe3fc8
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue