summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-07-20 13:29:01 +0000
committersr55 <[email protected]>2013-07-20 13:29:01 +0000
commitc28c8dd123d13e08b85a29745f440cf024b1c5ba (patch)
treea03b3f03d9a82a4c76c028ea79b60fea4819aa33 /win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
parent5aeff5b7f02a26fa3d20c124322c61c34b0e3b8c (diff)
WinGui: Misc fixes and improvements
- Added "Open This Directory" right click context menu on the destination box. - Fixed the av_mp4/mkv file extension bug. - Add new autoname options {time} {bitrate} {quality} git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5653 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
index a91dc4d3d..743a9c561 100644
--- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
@@ -823,7 +823,7 @@ namespace HandBrakeWPF.ViewModels
case Anamorphic.Custom:
double dispWidth = Math.Round((result.OutputWidth * result.OutputParWidth / result.OutputParHeight), 0);
this.DisplaySize = this.sourceResolution.IsEmpty
- ? "No Title Selected"
+ ? string.Empty
: string.Format("Storage: {0}x{1}, Display: {2}x{3}", result.OutputWidth, result.OutputHeight, dispWidth, result.OutputHeight);
break;
}
@@ -1023,14 +1023,14 @@ namespace HandBrakeWPF.ViewModels
double dispWidth = Math.Round((result.OutputWidth * result.OutputParWidth / result.OutputParHeight), 0);
this.DisplaySize = this.sourceResolution.IsEmpty
- ? "No Title Selected"
+ ? string.Empty
: string.Format("Output: {0}x{1}, Anamorphic: {2}x{3}", result.OutputWidth, result.OutputHeight, dispWidth, result.OutputHeight);
}
else
{
this.DisplaySize = this.sourceResolution.IsEmpty
- ? "No Title Selected"
- : string.Format("Output: {0}x{1}, Anamorphic: {2}x{3}", this.Width, this.Height, this.Width, this.Height);
+ ? string.Empty
+ : string.Format("Output: {0}x{1}", this.Width, this.Height);
}
}