view mpcommon.h @ 29221:84ed872376f3

Add #define for HAVE_DVDCSS_DVDCSS_H (needed by internal libdvdread) to config.h instead of passing -D on the compiler command line. This is more convenient and already done with most preprocessor definitions needed by external libraries. Previously the definition was passed on the command line because libdvdread was missing the necessary config.h #include, which was now added.
author diego
date Tue, 05 May 2009 17:30:50 +0000
parents 21504ba0f5d3
children ecc719c6d7a9
line wrap: on
line source

#ifndef MPLAYER_MPCOMMON_H
#define MPLAYER_MPCOMMON_H

#include "subreader.h"
#include "libmpdemux/demuxer.h"
#include "libmpdemux/stheader.h"

extern double sub_last_pts;
extern struct ass_track_s *ass_track;
extern subtitle *vo_sub_last;

void print_version(const char* name);
void update_subtitles(sh_video_t *sh_video, demux_stream_t *d_dvdsub, int reset);
void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset);
int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang);

extern int disable_system_conf;
extern int disable_user_conf;

#endif /* MPLAYER_MPCOMMON_H */