jpegdec: let the base class decide when to return an error

The base videodecoder class has an error counting feature to tolerate
a few errors before posting an error message. So don't force the
error and let the base class decide when it should happen

https://bugzilla.gnome.org/show_bug.cgi?id=710762
This commit is contained in:
Thiago Santos 2013-10-28 21:33:22 -03:00
parent 673b8ca1c1
commit be2f2f196a

View file

@ -1183,7 +1183,6 @@ decode_error:
need_unmap = FALSE;
jpeg_abort_decompress (&dec->cinfo);
ret = GST_FLOW_ERROR;
goto done;
}
decode_direct_failed: