jpegdec: deprecate max-errors
The property wasn't use internally, let the base class handle the number of errors to tolerate.
This commit is contained in:
parent
710d1f3a2a
commit
6bb6a5cdf4
@ -148,10 +148,12 @@ gst_jpeg_dec_class_init (GstJpegDecClass * klass)
|
|||||||
*
|
*
|
||||||
* Error out after receiving N consecutive decoding errors
|
* Error out after receiving N consecutive decoding errors
|
||||||
* (-1 = never error out, 0 = automatic, 1 = fail on first error, etc.)
|
* (-1 = never error out, 0 = automatic, 1 = fail on first error, etc.)
|
||||||
|
*
|
||||||
|
* Deprecated: 1.3.1: Property wasn't used internally
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (gobject_class, PROP_MAX_ERRORS,
|
g_object_class_install_property (gobject_class, PROP_MAX_ERRORS,
|
||||||
g_param_spec_int ("max-errors", "Maximum Consecutive Decoding Errors",
|
g_param_spec_int ("max-errors", "Maximum Consecutive Decoding Errors",
|
||||||
"Error out after receiving N consecutive decoding errors "
|
"(Deprecated) Error out after receiving N consecutive decoding errors"
|
||||||
" (-1 = never fail, 0 = automatic, 1 = fail on first error)",
|
" (-1 = never fail, 0 = automatic, 1 = fail on first error)",
|
||||||
-1, G_MAXINT, JPEG_DEFAULT_MAX_ERRORS,
|
-1, G_MAXINT, JPEG_DEFAULT_MAX_ERRORS,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user