jpegparse: Constant stream of "Invalid data" warnings when used with v4l2src / pipewiresrc
The following example pipelines produce a otherwise unproblematic stream of error messages (I guess on every frame) on different common UVC cameras of my Laptop and Desktop:
gst-launch-1.0 v4l2src ! image/jpeg,width=1280,height=720 ! decodebin3 ! waylandsink
or
gst-launch-1.0 pipewiresrc ! image/jpeg,width=1280,height=720 ! decodebin3 ! waylandsink
Note that whatever comes behind decodebin3
does not matter - fakesink
is also affected.
The warning looks as follows:
Additional debug info:
../subprojects/gst-plugins-bad/gst/jpegformat/gstjpegparse.c(939): gst_jpeg_parse_handle_frame (): /GstPipeline:pipeline0/GstDecodebin3:decodebin3-0/GstParseBin:parsebin0/GstJpegParse:jpegparse0:
Failed to parse app0 segment