X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_input.h;h=b4010d35194b63f13f019738af386f207816b42b;hb=513a8db0a09a2bcacb4310b55d982945ca5de3f8;hp=f9f56781f971ea8d5689010679562cfcfad1841e;hpb=92a4a5b33bdeb2ea8060a5511c035ef7fb1c7cd9;p=vlc diff --git a/include/vlc_input.h b/include/vlc_input.h index f9f56781f9..b4010d3519 100644 --- a/include/vlc_input.h +++ b/include/vlc_input.h @@ -186,9 +186,6 @@ VLC_EXPORT(int, input_item_AddInfo, ( input_item_t *p_i, const char *psz_cat, co VLC_EXPORT( input_item_t *, __input_item_NewExt, (vlc_object_t *, const char *, const char*, int, const char *const *, mtime_t i_duration ) ); VLC_EXPORT( input_item_t *, input_item_NewWithType, ( vlc_object_t *, const char *, const char *e, int, const char *const *, mtime_t i_duration, int ) ); -#define input_item_GetById(a,b) __input_item_GetById( VLC_OBJECT(a),b ) -VLC_EXPORT( input_item_t *, __input_item_GetById, (vlc_object_t *, int ) ); - /***************************************************************************** * Meta data helpers *****************************************************************************/ @@ -439,8 +436,9 @@ struct input_thread_t { VLC_COMMON_MEMBERS; - bool b_eof; + bool b_eof; bool b_preparsing; + bool b_dead; int i_state; bool b_can_pace_control; @@ -529,6 +527,9 @@ enum input_query_e /* On the fly record while playing */ INPUT_SET_RECORD_STATE, /* arg1=bool res=can fail */ INPUT_GET_RECORD_STATE, /* arg1=bool* res=can fail */ + + /* ES */ + INPUT_RESTART_ES, /* arg1=int (-AUDIO/VIDEO/SPU_ES for the whole category) */ }; VLC_EXPORT( int, input_vaControl,( input_thread_t *, int i_query, va_list ) );