Commit 3d6f1d93 authored by Rémi Denis-Courmont's avatar 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)
parent c2a6c691
......@@ -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 ) );
......
......@@ -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.
......
......@@ -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
......
......@@ -186,7 +186,6 @@ input_CreateFilename
input_DecoderDecode
input_DecoderDelete
input_DecoderCreate
input_DecoderNew
input_GetItem
input_item_AddInfo
input_item_AddOption
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment