summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-04-19 13:06:23 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-04-19 13:51:57 +0300
commitc2635c154de7bc88967c0155f322d471ed97938c (patch)
treebc1abebd3ba3168e401e215eb89162f9e67a9f63
parenta6c591b3396c6fc0c96a22658d54c915504bc091 (diff)
downloadgstreamer-plugins-bad-c2635c154de7bc88967c0155f322d471ed97938c.tar.gz
cccombiner: Use correct enum when registering the max-scheduled property
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2171>
-rw-r--r--docs/plugins/gst_plugins_cache.json2
-rw-r--r--ext/closedcaption/gstcccombiner.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json
index b24ff6f10..afff4eaa9 100644
--- a/docs/plugins/gst_plugins_cache.json
+++ b/docs/plugins/gst_plugins_cache.json
@@ -3325,7 +3325,7 @@
"construct": false,
"construct-only": false,
"controllable": false,
- "default": "0",
+ "default": "30",
"max": "-1",
"min": "0",
"mutable": "ready",
diff --git a/ext/closedcaption/gstcccombiner.c b/ext/closedcaption/gstcccombiner.c
index 079c77cee..1c2f03220 100644
--- a/ext/closedcaption/gstcccombiner.c
+++ b/ext/closedcaption/gstcccombiner.c
@@ -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,