changeset 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 bacaca1ac820
children 26c27a80b8af
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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();
 }