]> git.sesse.net Git - vlc/blobdiff - include/vlc_input.h
Give input_DecoderNew the clock used.
[vlc] / include / vlc_input.h
index cf8b4b90f0e4d7d999052e5e4f6c6c4faee3928c..bb2a2639a18e2b79895e9de3cd4a279f8cf6d36e 100644 (file)
@@ -542,7 +542,9 @@ static inline input_state_e input_GetState( input_thread_t * p_input )
     input_Control( p_input, INPUT_GET_STATE, &state );
     return state;
 }
-VLC_EXPORT( decoder_t *, input_DecoderNew, ( input_thread_t *, es_format_t *, sout_instance_t * ) );
+
+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 * ) );
 VLC_EXPORT( void, input_DecoderDelete, ( decoder_t * ) );
 VLC_EXPORT( void, input_DecoderDecode,( decoder_t *, block_t * ) );