summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-27 22:34:33 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-27 22:34:33 +0000
commit65db2ef94474b19b5c17308ae6fd624bad86ff1d (patch)
tree6d37812d9060d2346f76154a3dabf5e7875bb50d /mplayer.c
parent91c3f024a9172ef6f517fe3cc8f89b77bb98bfac (diff)
downloadmpv-65db2ef94474b19b5c17308ae6fd624bad86ff1d.tar.bz2
mpv-65db2ef94474b19b5c17308ae6fd624bad86ff1d.tar.xz
Avoid calling init_vo_spudec() too early.
(before mpctx->d_sub->sh initialization) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27839 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 92f07fa0a7..5b43185746 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3433,7 +3433,7 @@ demux_info_print(mpctx->demuxer);
//================== Read SUBTITLES (DVD & TEXT) ==========================
if(vo_spudec==NULL && mpctx->sh_video &&
- (mpctx->stream->type==STREAMTYPE_DVD || mpctx->stream->type == STREAMTYPE_DVDNAV || mpctx->d_sub->id >= 0)){
+ (mpctx->stream->type==STREAMTYPE_DVD || mpctx->stream->type == STREAMTYPE_DVDNAV)){
init_vo_spudec();
}