]> granicus.if.org Git - handbrake/commitdiff
WinGui: default to burn-in for VobSub too (when the container is MP4).
authorRodeo <tdskywalker@gmail.com>
Tue, 2 Apr 2013 22:33:56 +0000 (22:33 +0000)
committerRodeo <tdskywalker@gmail.com>
Tue, 2 Apr 2013 22:33:56 +0000 (22:33 +0000)
This is for compatibility reason (VobSub in MP4 is supported by very few players or devices) and matches the MacGUI behavior
.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5377 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs

index cb0f0986c86226a70aa086bdc047b7cf0b8bd92b..90dae495fe2d190d1c5bc878a920b11ff899e65d 100644 (file)
@@ -382,7 +382,7 @@ namespace HandBrakeWPF.ViewModels
                         SourceTrack = source,\r
                     };\r
 \r
-            if (source.SubtitleType == SubtitleType.PGS &&\r
+            if ((source.SubtitleType == SubtitleType.PGS || source.SubtitleType == SubtitleType.VobSub) &&\r
                 this.Task != null &&\r
                 (this.Task.OutputFormat == OutputFormat.Mp4 || this.Task.OutputFormat == OutputFormat.M4V))\r
             {\r