diff options
author | sr55 <[email protected]> | 2013-03-20 21:05:28 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-03-20 21:05:28 +0000 |
commit | 8326ee9b6c6b0d1f5abf22c1f156708244dee957 (patch) | |
tree | 2d24e6524fa75ac3eee5baf9b79f29709877fe83 /win/CS | |
parent | 988fc7eb5bb797a65353644f51d9dc5fc4c0e236 (diff) |
WinGui: Small tweak to enable burned in for pgs by default in mp4 files. (Adding tracks only for now)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5353 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs index 9149fde39..3b311cc7e 100644 --- a/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/SubtitlesViewModel.cs @@ -380,8 +380,16 @@ namespace HandBrakeWPF.ViewModels {
SubtitleType = SubtitleType.VobSub,
SourceTrack = source,
+ Burned = true,
};
+ if (source.SubtitleType == SubtitleType.PGS &&
+ this.Task != null &&
+ (this.Task.OutputFormat == OutputFormat.Mp4 || this.Task.OutputFormat == OutputFormat.M4V))
+ {
+ this.SelectBurnedInTrack(track);
+ }
+
this.Task.SubtitleTracks.Add(track);
}
|