mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 05:41:16 +00:00
10!
someone please tell me how subs ever worked with mkv git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11269 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
78084e6ad7
commit
f3f05bfc4d
@ -2357,10 +2357,10 @@ extern "C" int demux_mkv_open(demuxer_t *demuxer) {
|
||||
sizeof(mkv_sh_sub_t));
|
||||
demuxer->sub->id = track->xid;
|
||||
|
||||
} else if (strcmp(track->codec_id, MKV_S_TEXTASCII) &&
|
||||
} else if (!(strcmp(track->codec_id, MKV_S_TEXTASCII) &&
|
||||
strcmp(track->codec_id, MKV_S_TEXTUTF8) &&
|
||||
strcmp(track->codec_id, MKV_S_TEXTSSA) &&
|
||||
strcmp(track->codec_id, "S_SSA"))
|
||||
strcmp(track->codec_id, "S_SSA")))
|
||||
mp_msg(MSGT_DEMUX, MSGL_ERR, "[mkv] Subtitle type '%s' is not "
|
||||
"supported. Track will not be displayed.\n", track->codec_id);
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user