X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_input.h;h=0ed8fcdc1624c25aab65eab3d1fb41ecd476ce99;hb=fe96bbc61056ff287d32971ab89cdda8ee6bc863;hp=f366b18774cf5afdfba995df5849ecacaf576ddd;hpb=d3fe7f28797d4dba65ffcdd60bf932e758a48a9e;p=vlc diff --git a/include/vlc_input.h b/include/vlc_input.h index f366b18774..0ed8fcdc16 100644 --- a/include/vlc_input.h +++ b/include/vlc_input.h @@ -22,6 +22,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ +#if !defined( __LIBVLC__ ) + #error You are not libvlc or one of its plugins. You cannot include this file +#endif + /* __ is need because conflict with */ #ifndef _VLC__INPUT_H #define _VLC__INPUT_H 1 @@ -323,7 +327,7 @@ enum input_state_e */ #define INPUT_RATE_DEFAULT 1000 #define INPUT_RATE_MIN 125 /* Up to 8/1 */ -#define INPUT_RATE_MAX 8000 /* Up to 1/8 */ +#define INPUT_RATE_MAX 32000 /* Up to 1/8 */ /* i_update field of access_t/demux_t */ #define INPUT_UPDATE_NONE 0x0000 @@ -351,8 +355,11 @@ struct input_thread_t vlc_bool_t b_eof; vlc_bool_t b_preparsing; + int i_state; + vlc_bool_t b_can_pace_control; int64_t i_time; /* Current time */ + /* Internal caching common to all inputs */ int i_pts_delay; @@ -366,8 +373,6 @@ struct input_thread_t *****************************************************************************/ #define input_CreateThread(a,b) __input_CreateThread(VLC_OBJECT(a),b) VLC_EXPORT( input_thread_t *, __input_CreateThread, ( vlc_object_t *, input_item_t * ) ); -#define input_CreateThread2(a,b,c) __input_CreateThread2(VLC_OBJECT(a),b,c) -VLC_EXPORT( input_thread_t *, __input_CreateThread2, ( vlc_object_t *, input_item_t *, char * ) ); #define input_Preparse(a,b) __input_Preparse(VLC_OBJECT(a),b) VLC_EXPORT( int, __input_Preparse, ( vlc_object_t *, input_item_t * ) );