view mpcommon.h @ 25623:b955a135e3a8

Do not use exit_player in the signal handler, this code just can not be called from a signal handler. Instead only make the input system generate quit commands for the first CTRL+C and otherwise do getch2_disable and exit.
author reimar
date Tue, 08 Jan 2008 21:40:44 +0000
parents 6ac1ece1f9fe
children 429c8f64b810
line wrap: on
line source

#ifndef MPCOMMON_H
#define MPCOMMON_H

extern double sub_last_pts;
#ifdef USE_ASS
extern ass_track_t *ass_track;
#endif
extern subtitle *vo_sub_last;
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);

#endif /* MPCOMMON_H */