diff options
Diffstat (limited to 'mplayer.h')
-rw-r--r-- | mplayer.h | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -19,6 +19,8 @@ #ifndef MPLAYER_MPLAYER_H #define MPLAYER_MPLAYER_H +#include "mp_msg.h" + extern char* current_module; extern char ** audio_fm_list; @@ -29,7 +31,6 @@ extern char * video_driver; extern char * audio_driver; extern float audio_delay; -extern int osd_level; extern unsigned int osd_visible; extern char * font_name; @@ -42,8 +43,6 @@ extern float sub_delay; extern float sub_fps; extern int sub_auto; -extern char * filename; - extern int stream_cache_size; extern int autosync; @@ -51,11 +50,15 @@ extern int frame_dropping; extern int auto_quality; -extern int audio_id; -extern int video_id; -extern int dvdsub_id; extern int vobsub_id; -void update_set_of_subtitles(void); +static inline void exit_player_bad(const char *how) +{ + if (how) + mp_msg(MSGT_CPLAYER, MSGL_INFO, "Deprecated exit call: %s", how); + exit(1); +} + +struct MPContext; #endif /* MPLAYER_MPLAYER_H */ |