[vlc-devel] [PATCH 2/4] core: rename the "clock-master" option to "clock-driver"

Thomas Guillem thomas at gllm.fr
Thu Mar 11 11:31:29 UTC 2021


In order to use more descriptive and inclusive terms.
---
 src/input/es_out.c  | 2 +-
 src/libvlc-module.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/es_out.c b/src/input/es_out.c
index 0ea8cb34ec9..18f907047e4 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -517,7 +517,7 @@ es_out_t *input_EsOutNew( input_thread_t *p_input, input_source_t *main_source,
     p_sys->i_group_id = var_GetInteger( p_input, "program" );
 
     enum vlc_clock_driver_source driver_source =
-        var_InheritInteger( p_input, "clock-master" );
+        var_InheritInteger( p_input, "clock-driver" );
     switch( driver_source )
     {
         case VLC_CLOCK_DRIVER_AUDIO:
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index acfff58fe91..b8868464688 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1977,7 +1977,7 @@ vlc_module_begin ()
     add_integer( "clock-jitter", 5000, CLOCK_JITTER_TEXT,
               CLOCK_JITTER_LONGTEXT, true )
         change_safe()
-    add_integer( "clock-master", VLC_CLOCK_DRIVER_DEFAULT,
+    add_integer( "clock-driver", VLC_CLOCK_DRIVER_DEFAULT,
                  CLOCK_DRIVER_TEXT, NULL, true )
         change_integer_list( pi_clock_master_values, ppsz_clock_master_descriptions )
 
-- 
2.30.0



More information about the vlc-devel mailing list