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
@ -535,8 +535,8 @@ fail:
|
|||||||
if (*outbuf)
|
if (*outbuf)
|
||||||
gst_buffer_unref (*outbuf);
|
gst_buffer_unref (*outbuf);
|
||||||
*outbuf = NULL;
|
*outbuf = NULL;
|
||||||
GST_ELEMENT_ERROR (dec, STREAM, DECODE, (NULL), (NULL));
|
GST_ELEMENT_WARNING (dec, STREAM, DECODE, (NULL), (NULL));
|
||||||
ret = GST_FLOW_ERROR;
|
ret = GST_FLOW_OK;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
no_buffer:
|
no_buffer:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user