summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-30 17:05:39 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-30 17:05:39 +0000
commit74e6fb2c01ff7cb83c91510a41a63a0d6c435006 (patch)
tree9c2ee0c5a50a4e722dd98d788518b1fdbbfb906a /mencoder.c
parente0fb449076307855bb4a195e042eb3768473dbab (diff)
downloadmpv-74e6fb2c01ff7cb83c91510a41a63a0d6c435006.tar.bz2
mpv-74e6fb2c01ff7cb83c91510a41a63a0d6c435006.tar.xz
Set the forced_subs_only value correctly whenever a new spudec is created.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29108 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c
index 2d9d037e22..bd2ca83d7f 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -698,6 +698,8 @@ vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream-
sh_video->disp_w, sh_video->disp_h, NULL, 0);
}
#endif
+if (vo_spudec)
+ spudec_set_forced_subs_only(vo_spudec, forced_subs_only);
}
ostream = open_output_stream(out_filename, 0);