struct intf_thread_t *p_next; /** LibVLC interfaces book keeping */
vlc_thread_t thread; /** LibVLC thread */
/* Thread properties and locks */
-#if defined( __APPLE__ )
- bool b_should_run_on_first_thread;
-#endif
/* Specific interfaces */
intf_sys_t * p_sys; /** system interface */
* @{
*/
-/**
- * Used by interface plugins which subscribe to the message bank.
- */
-typedef struct msg_subscription_t msg_subscription_t;
-
/**
* Message logging callback signature.
* Accepts one private data pointer, the message, and an overrun counter.
typedef void (*msg_callback_t) (void *, int, const msg_item_t *,
const char *, va_list);
-VLC_API msg_subscription_t *vlc_Subscribe(msg_callback_t, void *) VLC_USED;
+/**
+ * Used by interface plugins which subscribe to the message bank.
+ */
+typedef struct msg_subscription
+{
+ struct msg_subscription *prev, *next;
+ msg_callback_t func;
+ void *opaque;
+} msg_subscription_t;
+
+VLC_API void vlc_Subscribe(msg_subscription_t *, msg_callback_t, void *);
VLC_API void vlc_Unsubscribe(msg_subscription_t *);
/*@}*/
-#if defined( WIN32 ) && !defined( UNDER_CE )
+#if defined( WIN32 )
# define CONSOLE_INTRO_MSG \
if( !getenv( "PWD" ) ) /* detect Cygwin shell or Wine */ \
{ \
#define EXTENSIONS_AUDIO_CSV "3ga", "669", "a52", "aac", "ac3", "ape", "awb", "dts", "flac", "it", \
"m4a", "m4p", "mka", "mlp", "mod", "mp1", "mp2", "mp3", "mpc", "mpga", \
- "oga", "ogg", "oma", "qcp", "ra", "rmi", "s3m", "spx", "thd", "tta", \
+ "oga", "ogg", "opus", "oma", "qcp", "ra", "rmi", "s3m", "spx", "thd", "tta", \
"wav", "wma", "wv", "xm"
#define EXTENSIONS_VIDEO_CSV "asf", "avi", "divx", "drc", "dv", "f4v", "flv", "gvi", "gxf", "iso", \
"mp2", "mp4", "mpeg", "mpeg1", \
"mpeg2", "mpeg4", "mpg", "mts", "mtv", "mxf", "mxg", "nuv", \
"ogg", "ogm", "ogv", "ogx", "ps", \
- "rec", "rm", "rmvb", "ts", "vob", "wm", "wmv"
+ "rec", "rm", "rmvb", "ts", "vob", "wm", "wmv", "xesc"
#define EXTENSIONS_AUDIO \
"*.3ga;" \
"*.oga;" \
"*.ogg;" \
"*.oma;" \
+ "*.opus;" \
"*.qcp;" \
"*.ra;" \
"*.rmi;" \
"*.m2t;*.m2ts;*.m4v;*.mkv;*.mov;*.mp2;*.mp2v;*.mp4;*.mp4v;*.mpa;*.mpe;*.mpeg;*.mpeg1;" \
"*.mpeg2;*.mpeg4;*.mpg;*.mpv2;*.mts;*.mtv;*.mxf;*.mxg;*.nsv;*.nuv;" \
"*.ogg;*.ogm;*.ogv;*.ogx;*.ps;" \
- "*.rec;*.rm;*.rmvb;*.tod;*.ts;*.tts;*.vob;*.vro;*.webm;*.wm;*.wmv"
+ "*.rec;*.rm;*.rmvb;*.tod;*.ts;*.tts;*.vob;*.vro;*.webm;*.wm;*.wmv;*.xesc"
#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.cue;*.ifo;*.m3u;*.m3u8;*.pls;*.ram;*.rar;*.sdp;*.vlc;*.xspf;*.wvx;*.zip;*.conf"
"*.ssa;*.aqt;" \
"*.jss;*.psb;" \
"*.rt;*.smi;*.txt;" \
- "*.smil;*.stl;*.usf" \
+ "*.smil;*.stl;*.usf;" \
"*.dks;*.pjs;*.mpl2"
/** \defgroup vlc_interaction Interaction