jpegdec: deprecate max-errors
authorThiago Santos <ts.santos@sisa.samsung.com>
Mon, 25 Nov 2013 14:45:33 +0000 (11:45 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Mon, 25 Nov 2013 14:58:58 +0000 (11:58 -0300)
The property wasn't use internally, let the base class handle the
number of errors to tolerate.

ext/jpeg/gstjpegdec.c

index d12d70e..89b8460 100644 (file)
@@ -148,11 +148,13 @@ gst_jpeg_dec_class_init (GstJpegDecClass * klass)
    *
    * Error out after receiving N consecutive decoding errors
    * (-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_param_spec_int ("max-errors", "Maximum Consecutive Decoding Errors",
-          "Error out after receiving N consecutive decoding errors "
-          "(-1 = never fail, 0 = automatic, 1 = fail on first error)",
+          "(Deprecated) Error out after receiving N consecutive decoding errors"
+          " (-1 = never fail, 0 = automatic, 1 = fail on first error)",
           -1, G_MAXINT, JPEG_DEFAULT_MAX_ERRORS,
           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));