mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
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
This commit is contained in:
parent
91c3f024a9
commit
65db2ef944
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user