annotate mpcommon.h @ 28883:c3f295ceae51

Do not call waveOutReset in uninit if you should wait till playing finishes, and retry waveOutClose if it fails due to still playing.
author reimar
date Mon, 09 Mar 2009 19:15:20 +0000
parents 21504ba0f5d3
children ecc719c6d7a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 26008
diff changeset
1 #ifndef MPLAYER_MPCOMMON_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 26008
diff changeset
2 #define MPLAYER_MPCOMMON_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 24165
diff changeset
3
26131
83c95bd31aab Add necessary #includes to pass 'make checkheaders'.
diego
parents: 26090
diff changeset
4 #include "subreader.h"
83c95bd31aab Add necessary #includes to pass 'make checkheaders'.
diego
parents: 26090
diff changeset
5 #include "libmpdemux/demuxer.h"
83c95bd31aab Add necessary #includes to pass 'make checkheaders'.
diego
parents: 26090
diff changeset
6 #include "libmpdemux/stheader.h"
83c95bd31aab Add necessary #includes to pass 'make checkheaders'.
diego
parents: 26090
diff changeset
7
22233
5bf6c178f09a Move some subtitle handling from mplayer.c to mpcommon.c and share it with mencoder.c
reimar
parents:
diff changeset
8 extern double sub_last_pts;
26008
bd7f7c851f47 Fix compilation with ASS disabled
reimar
parents: 26007
diff changeset
9 extern struct ass_track_s *ass_track;
22233
5bf6c178f09a Move some subtitle handling from mplayer.c to mpcommon.c and share it with mencoder.c
reimar
parents:
diff changeset
10 extern subtitle *vo_sub_last;
28325
21504ba0f5d3 Factorize print_version().
diego
parents: 26416
diff changeset
11
21504ba0f5d3 Factorize print_version().
diego
parents: 26416
diff changeset
12 void print_version(const char* name);
22233
5bf6c178f09a Move some subtitle handling from mplayer.c to mpcommon.c and share it with mencoder.c
reimar
parents:
diff changeset
13 void update_subtitles(sh_video_t *sh_video, demux_stream_t *d_dvdsub, int reset);
24165
94cac0aa431b Fix warning:
diego
parents: 24157
diff changeset
14 void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset);
26090
c585e2ad8ebf Select audio stream in mplayer and mencoder, overriding demuxer decision.
eugeni
parents: 26029
diff changeset
15 int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang);
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 24165
diff changeset
16
26416
9d53b15aed02 Add options to disable some or all config files.
albeu
parents: 26131
diff changeset
17 extern int disable_system_conf;
9d53b15aed02 Add options to disable some or all config files.
albeu
parents: 26131
diff changeset
18 extern int disable_user_conf;
9d53b15aed02 Add options to disable some or all config files.
albeu
parents: 26131
diff changeset
19
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 26008
diff changeset
20 #endif /* MPLAYER_MPCOMMON_H */