comparison mpcommon.h @ 32063:bfd3e0d9ab9d

Move mconfig extern variable declaration to mpcommon.h.
author diego
date Sat, 11 Sep 2010 11:43:05 +0000
parents 734f9a57c186
children 96bdac8d878d
comparison
equal deleted inserted replaced
32062:734f9a57c186 32063:bfd3e0d9ab9d
17 */ 17 */
18 18
19 #ifndef MPLAYER_MPCOMMON_H 19 #ifndef MPLAYER_MPCOMMON_H
20 #define MPLAYER_MPCOMMON_H 20 #define MPLAYER_MPCOMMON_H
21 21
22 #include "m_config.h"
22 #include "m_option.h" 23 #include "m_option.h"
23 #include "subreader.h" 24 #include "subreader.h"
24 #include "libmpdemux/demuxer.h" 25 #include "libmpdemux/demuxer.h"
25 #include "libmpdemux/stheader.h" 26 #include "libmpdemux/stheader.h"
26 #include "libass/ass_mp.h" 27 #include "libass/ass_mp.h"
55 extern float stream_cache_seek_min_percent; 56 extern float stream_cache_seek_min_percent;
56 57
57 extern const char *mencoder_version; 58 extern const char *mencoder_version;
58 extern const char *mplayer_version; 59 extern const char *mplayer_version;
59 60
61 extern m_config_t *mconfig;
60 extern const m_option_t noconfig_opts[]; 62 extern const m_option_t noconfig_opts[];
61 63
62 void print_version(const char* name); 64 void print_version(const char* name);
63 void update_subtitles(sh_video_t *sh_video, double refpts, demux_stream_t *d_dvdsub, int reset); 65 void update_subtitles(sh_video_t *sh_video, double refpts, demux_stream_t *d_dvdsub, int reset);
64 void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset); 66 void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset);