# HG changeset patch # User attila # Date 1067171325 0 # Node ID c367751bd7cb67e7c98f9610ac48dedbb0ac71d9 # Parent bce074f4263fa77ce94850004644ad64983e7897 10! someone please tell me how subs ever worked with mkv diff -r bce074f4263f -r c367751bd7cb libmpdemux/demux_mkv.cpp --- a/libmpdemux/demux_mkv.cpp Sun Oct 26 11:23:37 2003 +0000 +++ b/libmpdemux/demux_mkv.cpp Sun Oct 26 12:28:45 2003 +0000 @@ -2357,10 +2357,10 @@ 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 {