From 286d19823831251d90fe52c3bc67d7387280083d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 16 Sep 2004 15:29:38 +0000 Subject: [PATCH] Merged 2176 --- src/common/matroska.h | 1 + src/extract/tracks.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/matroska.h b/src/common/matroska.h index 8ea7444bd..9342e2ac1 100644 --- a/src/common/matroska.h +++ b/src/common/matroska.h @@ -58,6 +58,7 @@ #define MKV_S_TEXTSSA "S_TEXT/SSA" #define MKV_S_TEXTASS "S_TEXT/ASS" #define MKV_S_TEXTUSF "S_TEXT/USF" +#define MKV_S_TEXTASCII "S_TEXT/ASCII" #define MKV_S_VOBSUB "S_VOBSUB" #define MKV_S_VOBSUBZLIB "S_VOBSUB/ZLIB" diff --git a/src/extract/tracks.cpp b/src/extract/tracks.cpp index 730a49440..4aa21e635 100644 --- a/src/extract/tracks.cpp +++ b/src/extract/tracks.cpp @@ -368,7 +368,8 @@ check_output_files() { } } else if (tracks[i].track_type == 's') { - if (!strcmp(tracks[i].codec_id, MKV_S_TEXTUTF8)) + if (!strcmp(tracks[i].codec_id, MKV_S_TEXTUTF8) || + !strcmp(tracks[i].codec_id, MKV_S_TEXTASCII)) tracks[i].type = TYPESRT; else if (!strcmp(tracks[i].codec_id, MKV_S_TEXTSSA) || !strcmp(tracks[i].codec_id, MKV_S_TEXTASS) ||