From b42086fdfd303c8505179825f16730142439af40 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 2 Jun 2014 13:01:46 -0700 Subject: [PATCH] Use the customized default styles for SRT files opened from matroska --- src/mkv_wrap.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mkv_wrap.cpp b/src/mkv_wrap.cpp index 0d1fa2b6f..2085bcddc 100644 --- a/src/mkv_wrap.cpp +++ b/src/mkv_wrap.cpp @@ -40,6 +40,7 @@ #include "compat.h" #include "dialog_progress.h" #include "MatroskaParser.h" +#include "options.h" #include #include @@ -237,7 +238,7 @@ void MatroskaWrapper::GetSubtitles(agi::fs::path const& filename, AssFile *targe } // Load default if it's SRT else { - target->LoadDefault(false); + target->LoadDefault(false, OPT_GET("Subtitle Format/SRT/Default Style Catalog")->GetString()); parser.AddLine("[Events]"); }