urisourcebin: Bring high-watermark level in sync with legacy values
authorEdward Hervey <edward@centricular.com>
Mon, 7 Nov 2022 09:01:57 +0000 (10:01 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Nov 2022 14:01:46 +0000 (14:01 +0000)
It was always 60%. For some reason this crept in during the initial urisourcebin
refactoring.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>

subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json
subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c

index 5462d61bfa6d04221da8b04ec5f730e48b5c8451..1a17fdae9eb4223219cd560e825fc5fdf2965add 100644 (file)
                         "construct": false,
                         "construct-only": false,
                         "controllable": false,
-                        "default": "0.99",
+                        "default": "0.6",
                         "max": "1",
                         "min": "0",
                         "mutable": "null",
index 806570fddda1314b91f26836db488fd144117d8c..46a1753ac2f09d59e171b1dfd456a3a081a56f94 100644 (file)
@@ -216,7 +216,7 @@ enum
 #define DEFAULT_USE_BUFFERING       TRUE
 #define DEFAULT_RING_BUFFER_MAX_SIZE 0
 #define DEFAULT_LOW_WATERMARK       0.01
-#define DEFAULT_HIGH_WATERMARK      0.99
+#define DEFAULT_HIGH_WATERMARK      0.60
 
 #define ACTUAL_DEFAULT_BUFFER_SIZE  10 * 1024 * 1024    /* The value used for byte limits when buffer-size == -1 */
 #define ACTUAL_DEFAULT_BUFFER_DURATION  5 * GST_SECOND  /* The value used for time limits when buffer-duration == -1 */