From c2635c154de7bc88967c0155f322d471ed97938c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 19 Apr 2021 13:06:23 +0300 Subject: [PATCH] cccombiner: Use correct enum when registering the max-scheduled property Part-of: --- docs/plugins/gst_plugins_cache.json | 2 +- ext/closedcaption/gstcccombiner.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index b24ff6f103..afff4eaa9b 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 079c77cee4..1c2f03220b 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,