gstreamer/subprojects/gst-plugins-bad/gst/jpegformat
He Junyan d8feddcc0c jpegparse: reset parse state when the SOI is not the first marker
There may be garbage or some bits before a SOI comes in some problematic
mjpeg streams. For example, some network error may cause the EOI marker
of the previous frame lost, and when the new frame's SOI comes, we still
use the state of the last frame, which will generate errors.

For this kind of frames without EOI, if that frame already has some data
(the SOS segment is detected), we still push it as a frame with CORRUPTED
flag set. But if not, we just discard all the data before the new SOI.

Co-Authored-By: Víctor Jáquez <vjaquez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4039>
2023-03-01 11:42:44 +00:00
..
gstjifmux.c jpegformat: drop use of GSlice 2023-01-24 15:25:07 +00:00
gstjifmux.h jpegformat: Use codecparsers' for JPEG markers. 2022-05-20 08:51:23 +00:00
gstjpegformat.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstjpegparse.c jpegparse: reset parse state when the SOI is not the first marker 2023-03-01 11:42:44 +00:00
gstjpegparse.h jpegparse: Rewrite element. 2022-05-20 08:51:23 +00:00
meson.build meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00