mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
jasperdec: don't fail hard on decoding error
don't post an error and return GST_FLOW_ERROR on a simple decoding error. We can just resume and continue decoding the next image.
This commit is contained in:
parent
0b6e0b7b13
commit
0c36c70f63
1 changed files with 2 additions and 2 deletions
|
@ -535,8 +535,8 @@ fail:
|
|||
if (*outbuf)
|
||||
gst_buffer_unref (*outbuf);
|
||||
*outbuf = NULL;
|
||||
GST_ELEMENT_ERROR (dec, STREAM, DECODE, (NULL), (NULL));
|
||||
ret = GST_FLOW_ERROR;
|
||||
GST_ELEMENT_WARNING (dec, STREAM, DECODE, (NULL), (NULL));
|
||||
ret = GST_FLOW_OK;
|
||||
goto done;
|
||||
}
|
||||
no_buffer:
|
||||
|
|
Loading…
Reference in a new issue