From 65db2ef94474b19b5c17308ae6fd624bad86ff1d Mon Sep 17 00:00:00 2001 From: aurel Date: Mon, 27 Oct 2008 22:34:33 +0000 Subject: [PATCH] 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 --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }