]> git.sesse.net Git - vlc/commitdiff
Unexport input_DecoderNew and input_clock_t
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 4 Apr 2011 17:27:22 +0000 (20:27 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 4 Apr 2011 17:27:22 +0000 (20:27 +0300)
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)

include/vlc_input.h
src/input/clock.h
src/input/decoder.h
src/libvlccore.sym

index 67d5070fe751837809201b83638eb9b9f4886e8b..afa7a81a38b3f317e7c96dc8ff23f6264d7621b6 100644 (file)
@@ -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 ) );
index 81f858c807b62bc43fb6e77347e47db789ff3332..ef2011976f2e465bad63cac8c73df9bff243f148 100644 (file)
@@ -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.
index 325b2daa4afd894ba39268b49e2c320a80a8ba24..8d0a66c994a5caa3a1acecefeeab67b384e03248 100644 (file)
@@ -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
index 6da7a0637bb070bfe0e73d495a58657fefb3f41a..cabfea2b55360cf7b54fa8386e2c0461dc00fd11 100644 (file)
@@ -186,7 +186,6 @@ input_CreateFilename
 input_DecoderDecode
 input_DecoderDelete
 input_DecoderCreate
-input_DecoderNew
 input_GetItem
 input_item_AddInfo
 input_item_AddOption