[MPlayer-cvslog] r27839 - trunk/mplayer.c

aurel subversion at mplayerhq.hu
Mon Oct 27 23:34:33 CET 2008


Author: aurel
Date: Mon Oct 27 23:34:33 2008
New Revision: 27839

Log:
Avoid calling init_vo_spudec() too early.
(before mpctx->d_sub->sh initialization)


Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Mon Oct 27 23:34:33 2008
@@ -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();
 }
 



More information about the MPlayer-cvslog mailing list