summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-12-27 21:26:24 +0000
committersr55 <[email protected]>2012-12-27 21:26:24 +0000
commitb87cca000d252e72f4d130068e9a2ea70f28b07f (patch)
tree5ff63c31fde712e690a2c0e497b85b9bc8aab90e /win/CS/HandBrake.ApplicationServices/Utilities
parent78f11a25002417f9b000535d9e60849a5391b879 (diff)
WinGui: Improved handling of preview filename generation and fixed the seconds / frames options to update in realtime with the duration calculation.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5108 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
index 83e551b42..a6dc97758 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
@@ -210,14 +210,7 @@ namespace HandBrake.ApplicationServices.Utilities
/// </returns>
private static string DestinationQuery(EncodeTask task)
{
- string query = string.Empty;
-
- if (task.PointToPointMode == PointToPointMode.Preview)
- query += string.Format(" -o \"{0}\" ", task.Destination.Replace(".m", "_sample.m"));
- else
- query += string.Format(" -o \"{0}\" ", task.Destination);
-
- return query;
+ return string.Format(" -o \"{0}\" ", task.Destination);
}
/// <summary>