[vlc-devel] [PATCH 1/5] core: move input.c to input_internal.c

Thomas Guillem thomas at gllm.fr
Tue Jul 10 15:43:05 CEST 2018


Leave input.c for the future "input manager", that will be called vlc_input_t.

All current input_thread_t functions should be hidden in the future, the new
vlc_input_t will be the only way to control an input.
---
 po/POTFILES.in                          | 2 +-
 src/Makefile.am                         | 2 +-
 src/input/{input.c => input_internal.c} | 5 ++---
 3 files changed, 4 insertions(+), 5 deletions(-)
 rename src/input/{input.c => input_internal.c} (99%)

diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4f83861574..29e1a7d80a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -75,7 +75,7 @@ src/input/demux.c
 src/input/demux.h
 src/input/es_out.c
 src/input/es_out.h
-src/input/input.c
+src/input/input_internal.c
 src/input/input_internal.h
 src/input/item.c
 src/input/meta.c
diff --git a/src/Makefile.am b/src/Makefile.am
index f9106a17c5..166beb0b76 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -240,7 +240,7 @@ libvlccore_la_SOURCES = \
 	input/es_out.c \
 	input/es_out_timeshift.c \
 	input/event.c \
-	input/input.c \
+	input/input_internal.c \
 	input/info.h \
 	input/meta.c \
 	clock/input_clock.h \
diff --git a/src/input/input.c b/src/input/input_internal.c
similarity index 99%
rename from src/input/input.c
rename to src/input/input_internal.c
index 3a17c06a97..cb91370ed0 100644
--- a/src/input/input.c
+++ b/src/input/input_internal.c
@@ -1,8 +1,7 @@
 /*****************************************************************************
- * input.c: input thread
+ * input_internal.c: input thread
  *****************************************************************************
- * Copyright (C) 1998-2007 VLC authors and VideoLAN
- * $Id$
+ * Copyright (C) 1998-2018 VLC authors and VideoLAN
  *
  * Authors: Christophe Massiot <massiot at via.ecp.fr>
  *          Laurent Aimar <fenrir at via.ecp.fr>
-- 
2.18.0



More information about the vlc-devel mailing list