va: jpegdecoder: Do not check SOS state when parsing DRI marker.
authorHe Junyan <junyan.he@intel.com>
Sun, 12 Feb 2023 08:11:34 +0000 (16:11 +0800)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 18 Jul 2023 10:30:57 +0000 (12:30 +0200)
commit107553843c27ef4386d4f91232088cfd5efad443
tree1e48828a55bf0e7fb3ff8a9fd1e217bf345d5949
parent1e7c085791dc60dbeb4872117a0366cbf95deb39
va: jpegdecoder: Do not check SOS state when parsing DRI marker.

According to spec, the JPEG_MARKER_DRI(Restart interval definition)
marker can come before the SOS marker. So we should not check the SOS
state when parsing the DRI marker.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5053>
subprojects/gst-plugins-bad/sys/va/gstjpegdecoder.c