0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

Fix bug noticed by Hajba Szilard in message <20020329151644.A23301@revai.hu>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5393 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
kmkaplan 2002-03-29 15:12:41 +00:00
parent 05dcedd786
commit d40f8f30c2

View File

@ -777,8 +777,8 @@ if (spudec_ifo) {
if (vobsub_parse_ifo(spudec_ifo, palette, &width, &height, 1) >= 0)
vo_spudec=spudec_new_scaled(palette, sh_video->disp_w, sh_video->disp_h);
}
if (vo_spudec==NULL) {
#ifdef USE_DVDREAD
if (vo_spudec==NULL) {
vo_spudec=spudec_new_scaled(stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL,
sh_video->disp_w, sh_video->disp_h);
}