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

Make mov subtitles work with -ass

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25909 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-01-29 14:30:53 +00:00
parent f3216dba06
commit 4134a853e4

View File

@ -844,7 +844,7 @@ int biComp=le2me_32(sh_video->bih->biCompression);
sh->ass_track = ass_new_track(ass_library);
if (sh->ass_track && sh->extradata)
ass_process_codec_private(sh->ass_track, sh->extradata, sh->extradata_len);
} else if (sh && sh->type == 't')
} else if (sh && sh->type != 'v')
sh->ass_track = ass_default_track(ass_library);
}
}