Mercurial > mplayer.hg
annotate mpcommon.h @ 29851:eaa7bfc52c2c
Set the EOF flag when dvdnav reached the end of the requested title.
Otherwise it would just hang, either at the menu or trying to play the
last played frame as a still frame.
author | reimar |
---|---|
date | Wed, 11 Nov 2009 09:09:08 +0000 |
parents | 2e3751815a21 |
children | d5d20b8256b7 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_MPCOMMON_H |
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 | 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 | 11 |
12 void print_version(const char* name); | |
29669
162402f4662b
Make function argument name in header match name in .c file.
reimar
parents:
29668
diff
changeset
|
13 void update_subtitles(sh_video_t *sh_video, double refpts, demux_stream_t *d_dvdsub, int reset); |
24165 | 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); |
29670
2e3751815a21
Add support for displaying subtitles on the command-line when playing
reimar
parents:
29669
diff
changeset
|
16 void set_osd_subtitle(subtitle *subs); |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
24165
diff
changeset
|
17 |
26416 | 18 extern int disable_system_conf; |
19 extern int disable_user_conf; | |
20 | |
26029 | 21 #endif /* MPLAYER_MPCOMMON_H */ |