view mplayer.h @ 11352:d8b1f7509df2

Patch by Nico <nsabbi@libero.it> this patch fixes a recently discovered bug for which DVB-C users couldn't tune (wrong parsing of the config file and incorrect parameter passing to tune_it()) and includes the still unapplied patch posted in date 6/9/2003: - it works correctly with and without caches; in the former case it doesn't take anymore a lot of time to empty the cache before changing channel; the uninit_cache() function is called in mplayer.c just after the new tuning operation - initialized a variable identifying the tuner type, and exit if it isn't supported - doesn't crash anymore when 1) the channels file doesn't exists 2) the tuner is used by another application 3) in the menu, when trying to select a channel before the first 4) some mp_msg() called in case of error
author attila
date Sat, 01 Nov 2003 15:17:01 +0000
parents 09d630a4f991
children f580a7755ac5
line wrap: on
line source


#ifndef __MPLAYER_MAIN
#define __MPLAYER_MAIN

#include "libvo/sub.h"
#include "subreader.h"

extern int use_gui;
extern char* current_module;

extern char * dvd_device;
extern char * cdrom_device;

extern char ** audio_fm_list;
extern char ** video_fm_list;
extern char ** video_driver_list;
extern char ** audio_driver_list;
extern char * video_driver;
extern char * audio_driver;
extern float  audio_delay;

extern int osd_level;
extern int osd_visible;

extern char * font_name;
extern float  font_factor;
extern float movie_aspect;
extern float force_fps;

//extern char **sub_name;
extern float  sub_delay;
extern float  sub_fps;
extern int    sub_auto;
extern int    sub_pos;
extern int    sub_unicode;
extern char * sub_cp;
extern sub_data* subdata; //currently used subtitles  
extern subtitle* vo_sub;
extern int    suboverlap_enabled;

extern char * filename;

extern int stream_cache_size;
extern int force_ni;
extern int index_mode;
extern int autosync;

// libmpcodecs:
extern int fullscreen;
extern int flip;

extern int frame_dropping;

extern int auto_quality;

extern int audio_id;
extern int video_id;
extern int dvdsub_id;
extern int vobsub_id;

extern void exit_player(char* how);
extern void update_set_of_subtitles();

#endif