From 795a1af38a9503ae16de43adeeba55b422f99e0e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 22 Aug 2003 20:08:21 +0000 Subject: [PATCH] Backwards compatibility: Accepts S_SSA and S_ASS as valid CodecIDs (new CodecIDs are S_TEXT/SSA and S_TEXT/ASS). --- ChangeLog | 3 +++ src/mkvextract_tracks.cpp | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c06ab436..43e0100b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-08-22 Moritz Bunkus + * mkvextract: Backwards compatibility: Accepts S_SSA and S_ASS as + valid CodecIDs (new CodecIDs are S_TEXT/SSA and S_TEXT/ASS). + * mkvmerge: Bugfix: If a subtitle packet was the last packet in a cluster then its duration was not written resulting in a broken file. diff --git a/src/mkvextract_tracks.cpp b/src/mkvextract_tracks.cpp index fb047027f..b77fc2b3a 100644 --- a/src/mkvextract_tracks.cpp +++ b/src/mkvextract_tracks.cpp @@ -282,7 +282,9 @@ static void create_output_files() { if (!strcmp(tracks[i].codec_id, MKV_S_TEXTUTF8)) tracks[i].type = TYPESRT; else if (!strcmp(tracks[i].codec_id, MKV_S_TEXTSSA) || - !strcmp(tracks[i].codec_id, MKV_S_TEXTASS)) + !strcmp(tracks[i].codec_id, MKV_S_TEXTASS) || + !strcmp(tracks[i].codec_id, "S_SSA") || + !strcmp(tracks[i].codec_id, "S_ASS")) tracks[i].type = TYPESSA; else { mxwarn("Unsupported CodecID '%s' for ID %lld. "