cccombiner: Use correct enum when registering the max-scheduled property
authorSebastian Dröge <sebastian@centricular.com>
Mon, 19 Apr 2021 10:06:23 +0000 (13:06 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 19 Apr 2021 10:51:57 +0000 (13:51 +0300)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2171>

docs/plugins/gst_plugins_cache.json
ext/closedcaption/gstcccombiner.c

index b24ff6f..afff4ea 100644 (file)
                         "construct": false,
                         "construct-only": false,
                         "controllable": false,
-                        "default": "0",
+                        "default": "30",
                         "max": "-1",
                         "min": "0",
                         "mutable": "ready",
index 079c77c..1c2f032 100644 (file)
@@ -1496,7 +1496,7 @@ gst_cc_combiner_class_init (GstCCCombinerClass * klass)
    * Since: 1.20
    */
   g_object_class_install_property (G_OBJECT_CLASS (klass),
-      PROP_SCHEDULE, g_param_spec_uint ("max-scheduled",
+      PROP_MAX_SCHEDULED, g_param_spec_uint ("max-scheduled",
           "Max Scheduled",
           "Maximum number of buffers to queue for scheduling", 0, G_MAXUINT,
           DEFAULT_MAX_SCHEDULED,