mmg: bug fix: recognize Opus as a valid codec for WebM

This commit is contained in:
Moritz Bunkus 2014-01-17 15:31:32 +01:00
parent f55c8208cf
commit 48fea8e434
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-17 Moritz Bunkus <moritz@bunkus.org>
* mmg: bug fix: fixed the check for WebM-compatible track types
for Opus.
2014-01-12 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: fixed muxing Sorenson v3 (SVQ3) video from

View File

@ -72,7 +72,7 @@ mmg_track_t::create_label() {
bool
mmg_track_t::is_webm_compatible() {
static wxRegEx re_valid_webm_codecs(wxT("VP8|Vorbis"), wxRE_ICASE);
static wxRegEx re_valid_webm_codecs(wxT("VP8|Vorbis|Opus"), wxRE_ICASE);
return (is_audio() || is_video()) && re_valid_webm_codecs.Matches(ctype);
}