From b87cca000d252e72f4d130068e9a2ea70f28b07f Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 27 Dec 2012 21:26:24 +0000 Subject: 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 --- .../Utilities/QueryGeneratorUtility.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices') 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 /// 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); } /// -- cgit v1.2.3