Skip to content

svtjpegxsdec: handle decode errors more gracefully

Use GST_VIDEO_DECODER_ERROR instead of just erroring out unconditionally, so that the error handling behaviour is determined by the "max-errors" property and we'll just continue after decoding errors now instead of erroring out.

Test pipeline

gst-launch-1.0 videotestsrc ! svtjpegxsenc ! breakmydata probability=0.00001 ! svtjpegxsdec ! videoconvert ! xvimagesink
Edited by Tim-Philipp Müller

Merge request reports

Loading