[vlc-commits] Unexport input_DecoderNew and input_clock_t

Rémi Denis-Courmont git at videolan.org
Mon Apr 4 19:41:41 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr  4 20:27:22 2011 +0300| [3d6f1d93f0a4cbd14f09e4cb0f79598dd1652573] | committer: Rémi Denis-Courmont

Unexport input_DecoderNew and input_clock_t

Since input_clock_t cannot be created/used from plugins, the extra
functionality of input_DecoderNew() from the new input_DecodeCreate()
is not interesting in plugins.

(Yes, I know I suck as function names)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3d6f1d93f0a4cbd14f09e4cb0f79598dd1652573
---

 include/vlc_input.h |    2 --
 src/input/clock.h   |    1 +
 src/input/decoder.h |    3 +++
 src/libvlccore.sym  |    1 -
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/vlc_input.h b/include/vlc_input.h
index 67d5070..afa7a81 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -635,8 +635,6 @@ static inline int input_ModifyPcrSystem( input_thread_t *p_input, bool b_absolut
 }
 
 /* */
-typedef struct input_clock_t input_clock_t;
-VLC_EXPORT( decoder_t *, input_DecoderNew, ( input_thread_t *, es_format_t *, input_clock_t *, sout_instance_t * ) LIBVLC_USED );
 VLC_EXPORT( decoder_t *, input_DecoderCreate, ( vlc_object_t *, es_format_t *, input_resource_t * ) LIBVLC_USED );
 VLC_EXPORT( void, input_DecoderDelete, ( decoder_t * ) );
 VLC_EXPORT( void, input_DecoderDecode,( decoder_t *, block_t *, bool b_do_pace ) );
diff --git a/src/input/clock.h b/src/input/clock.h
index 81f858c..ef20119 100644
--- a/src/input/clock.h
+++ b/src/input/clock.h
@@ -34,6 +34,7 @@
  * XXX input_clock_GetTS can be called from any threads. All others functions
  * MUST be called from one and only one thread.
  */
+typedef struct input_clock_t input_clock_t;
 
 /**
  * This function creates a new input_clock_t.
diff --git a/src/input/decoder.h b/src/input/decoder.h
index 325b2da..8d0a66c 100644
--- a/src/input/decoder.h
+++ b/src/input/decoder.h
@@ -30,6 +30,9 @@
 
 #define BLOCK_FLAG_CORE_FLUSH (1 <<BLOCK_FLAG_CORE_PRIVATE_SHIFT)
 
+decoder_t *input_DecoderNew( input_thread_t *, es_format_t *, input_clock_t *,
+                             sout_instance_t * ) LIBVLC_USED;
+
 /**
  * This function changes the pause state.
  * The date parameter MUST hold the exact date at wich the change has been
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 6da7a06..cabfea2 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -186,7 +186,6 @@ input_CreateFilename
 input_DecoderDecode
 input_DecoderDelete
 input_DecoderCreate
-input_DecoderNew
 input_GetItem
 input_item_AddInfo
 input_item_AddOption



More information about the vlc-commits mailing list