summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-27 22:51:22 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-27 22:51:22 +0000
commit97293969b40797442ec0f612b89a89ace8804561 (patch)
tree30e3b1135c0279a576e9e03ed64788a08a916b44 /mencoder.c
parent472bf28b5ec3208ee0ba5fc3801dc49f631c8588 (diff)
downloadmpv-97293969b40797442ec0f612b89a89ace8804561.tar.bz2
mpv-97293969b40797442ec0f612b89a89ace8804561.tar.xz
Factorize vobsub idx/extradata handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27841 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mencoder.c b/mencoder.c
index bc378673f2..f0105fe421 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -738,19 +738,16 @@ else {
if (spudec_ifo) {
unsigned int palette[16], width, height;
if (vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1, -1, NULL) >= 0)
- vo_spudec=spudec_new_scaled(palette, sh_video->disp_w, sh_video->disp_h);
+ vo_spudec=spudec_new_scaled(palette, sh_video->disp_w, sh_video->disp_h, NULL, 0);
}
#ifdef CONFIG_DVDREAD
if (vo_spudec==NULL) {
vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL,
- sh_video->disp_w, sh_video->disp_h);
+ sh_video->disp_w, sh_video->disp_h, NULL, 0);
}
#endif
}
-// Apply current settings for forced subs
-spudec_set_forced_subs_only(vo_spudec,forced_subs_only);
-
ostream = open_output_stream(out_filename, 0);
if(!ostream) {
mp_msg(MSGT_MENCODER, MSGL_FATAL, MSGTR_CannotOpenOutputFile, out_filename);