GUI: mux: allow changing subtitle charset for textsubs in Matroska/MPEG TS

This commit is contained in:
Moritz Bunkus 2018-06-21 20:01:57 +02:00
parent 91debcd8ea
commit 7008661ed9
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -456,7 +456,8 @@ Track::canChangeSubCharset()
const {
if ( isSubtitles()
&& m_properties.value(Q("text_subtitles")).toBool()
&& m_properties.value(Q("encoding")).toString().isEmpty())
&& ( m_properties.value(Q("encoding")).toString().isEmpty()
|| mtx::included_in(m_file->m_type, mtx::file_type_e::matroska, mtx::file_type_e::mpeg_ts)))
return true;
if ( isChapters()