mirror of
https://github.com/mpv-player/mpv
synced 2025-05-05 11:56:19 +02: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) ==========================
|
//================== Read SUBTITLES (DVD & TEXT) ==========================
|
||||||
if(vo_spudec==NULL && mpctx->sh_video &&
|
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();
|
init_vo_spudec();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user