From e8f768212cb8af15529f1e82ce71a8f037a8a25d Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 7 Nov 2022 10:01:57 +0100 Subject: [PATCH] urisourcebin: Bring high-watermark level in sync with legacy values It was always 60%. For some reason this crept in during the initial urisourcebin refactoring. Part-of: --- .../gst-plugins-base/docs/plugins/gst_plugins_cache.json | 2 +- subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json b/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json index 5462d61bfa..1a17fdae9e 100644 --- a/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json +++ b/subprojects/gst-plugins-base/docs/plugins/gst_plugins_cache.json @@ -11594,7 +11594,7 @@ "construct": false, "construct-only": false, "controllable": false, - "default": "0.99", + "default": "0.6", "max": "1", "min": "0", "mutable": "null", diff --git a/subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c b/subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c index 806570fddd..46a1753ac2 100644 --- a/subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c +++ b/subprojects/gst-plugins-base/gst/playback/gsturisourcebin.c @@ -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 */