Skip to content

Commit

Permalink
add checkbox Export > Other > Disble subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Aug 2, 2024
1 parent bed84c2 commit bea841f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/docks/encodedock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,8 @@ MeltJob *EncodeDock::createMeltJob(Mlt::Producer *service, const QString &target
ui->audioCodecCombo->currentIndex() == 0 &&
(mytarget.endsWith(".mp4") || mytarget.endsWith(".mov")))
consumerNode.setAttribute("strict", "experimental");
setSubtitleProperties(consumerNode, service);
if (!ui->disableSubtitlesCheckbox->isChecked())
setSubtitleProperties(consumerNode, service);

// Add autoclose to playlists.
QDomNodeList playlists = dom.elementsByTagName("playlist");
Expand Down
9 changes: 8 additions & 1 deletion src/docks/encodedock.ui
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ with parallel processing enabled.</string>
<string>YADIF - temporal + spatial (better)</string>
</property>
</item>
<item>
<item>
<property name="text">
<string>BWDIF (best)</string>
</property>
Expand Down Expand Up @@ -1847,6 +1847,13 @@ in temporal compression</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="disableSubtitlesCheckbox">
<property name="text">
<string>Disable subtitles</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
Expand Down

0 comments on commit bea841f

Please sign in to comment.