diff mplayer.c @ 27805:92f83263b154

Avoid calling init_vo_spudec() too early. (before mpctx->d_sub->sh initialization)
author aurel
date Mon, 27 Oct 2008 22:34:33 +0000
parents 48c1ae64255b
children 3ac3d3a51934
line wrap: on
line diff
--- a/mplayer.c	Mon Oct 27 21:00:12 2008 +0000
+++ b/mplayer.c	Mon Oct 27 22:34:33 2008 +0000
@@ -3433,7 +3433,7 @@
 
 //================== 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();
 }