vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Fri Nov 20 19:57:36 2020 +0200| [10e04ed87a52a9e65b90306341aef23b9c9fd653] | committer: Rémi Denis-Courmont
netsync: appropriate --network-synchronisation > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10e04ed87a52a9e65b90306341aef23b9c9fd653 --- modules/control/netsync.c | 7 +++++++ src/libvlc-module.c | 8 -------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/modules/control/netsync.c b/modules/control/netsync.c index 05003a0121..daca7c4230 100644 --- a/modules/control/netsync.c +++ b/modules/control/netsync.c @@ -51,6 +51,11 @@ static int Open (vlc_object_t *); static void Close(vlc_object_t *); +#define NETSYNC_TEXT N_("Network synchronisation" ) +#define NETSYNC_LONGTEXT N_( "This allows you to remotely " \ + "synchronise clocks for server and client. The detailed settings " \ + "are available in Advanced / Network Sync." ) + #define NETSYNC_TEXT N_("Network master clock") #define NETSYNC_LONGTEXT N_("When set, " \ "this VLC instance will act as the master clock for synchronization " \ @@ -76,6 +81,8 @@ vlc_module_begin() set_category(CAT_ADVANCED) set_subcategory(SUBCAT_ADVANCED_MISC) + add_bool("network-synchronisation", false, NETSYNC_TEXT, NETSYNC_LONGTEXT, + true) add_bool("netsync-master", false, NETSYNC_TEXT, NETSYNC_LONGTEXT, true) add_string("netsync-master-ip", NULL, MIP_TEXT, MIP_LONGTEXT, diff --git a/src/libvlc-module.c b/src/libvlc-module.c index 4ce09adfa7..9da8fa407b 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -547,11 +547,6 @@ static const char *const ppsz_clock_master_descriptions[] = { N_("Monotonic") }; -#define NETSYNC_TEXT N_("Network synchronisation" ) -#define NETSYNC_LONGTEXT N_( "This allows you to remotely " \ - "synchronise clocks for server and client. The detailed settings " \ - "are available in Advanced / Network Sync." ) - static const int pi_clock_values[] = { -1, 0, 1 }; static const char *const ppsz_clock_descriptions[] = { N_("Default"), N_("Disable"), N_("Enable") }; @@ -1993,9 +1988,6 @@ vlc_module_begin () CLOCK_MASTER_TEXT, NULL, true ) change_integer_list( pi_clock_master_values, ppsz_clock_master_descriptions ) - add_bool( "network-synchronisation", false, NETSYNC_TEXT, - NETSYNC_LONGTEXT, true ) - add_directory("input-record-path", NULL, INPUT_RECORD_PATH_TEXT, INPUT_RECORD_PATH_LONGTEXT) add_bool( "input-record-native", true, INPUT_RECORD_NATIVE_TEXT, _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
