Mercurial > mplayer.hg
comparison mencoder.c @ 29670:2e3751815a21
Add support for displaying subtitles on the command-line when playing
audio-only files.
| author | reimar |
|---|---|
| date | Wed, 23 Sep 2009 21:48:48 +0000 |
| parents | ecc719c6d7a9 |
| children | 94f1bca4f4b6 |
comparison
equal
deleted
inserted
replaced
| 29669:162402f4662b | 29670:2e3751815a21 |
|---|---|
| 215 | 215 |
| 216 #include "libass/ass.h" | 216 #include "libass/ass.h" |
| 217 #include "libass/ass_mp.h" | 217 #include "libass/ass_mp.h" |
| 218 char *current_module; | 218 char *current_module; |
| 219 #include "mpcommon.h" | 219 #include "mpcommon.h" |
| 220 | |
| 221 // Needed by mpcommon.c | |
| 222 void set_osd_subtitle(subtitle *subs) { | |
| 223 vo_sub = subs; | |
| 224 vo_osd_changed(OSDTYPE_SUBTITLE); | |
| 225 } | |
| 220 | 226 |
| 221 //char *out_audio_codec=NULL; // override audio codec | 227 //char *out_audio_codec=NULL; // override audio codec |
| 222 //char *out_video_codec=NULL; // override video codec | 228 //char *out_video_codec=NULL; // override video codec |
| 223 | 229 |
| 224 //#include "libmpeg2/mpeg2.h" | 230 //#include "libmpeg2/mpeg2.h" |
