]> granicus.if.org Git - handbrake/commitdiff
WinGui: Drop qsv- qualifier. It's not needed.
authorsr55 <sr55.hb@outlook.com>
Sun, 3 Mar 2013 18:16:38 +0000 (18:16 +0000)
committersr55 <sr55.hb@outlook.com>
Sun, 3 Mar 2013 18:16:38 +0000 (18:16 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5289 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs
win/CS/HandBrakeWPF/ViewModels/EncoderOptionsViewModel.cs

index f0f7402ad05c1fb4f8c28f86cc52fff308d904b6..85141ecf5da6731393bfcba5d4f9ca11a80b8398 100644 (file)
@@ -966,8 +966,8 @@ namespace HandBrake.ApplicationServices.Utilities
                     }\r
 \r
                     query += string.IsNullOrEmpty(task.AdvancedEncoderOptions)\r
-                                 ? string.Format(" -x qsv-target-usage={0}", qsvPreset)\r
-                                 : string.Format(" -x qsv-target-usage={0}:{1}", qsvPreset, task.AdvancedEncoderOptions);\r
+                                 ? string.Format(" -x target-usage={0}", qsvPreset)\r
+                                 : string.Format(" -x target-usage={0}:{1}", qsvPreset, task.AdvancedEncoderOptions);\r
                 }\r
                 else if (!string.IsNullOrEmpty(task.AdvancedEncoderOptions))\r
                 {\r
index 94607278ef22e64b7b69826957fb9782e6af6e2f..604d86726dfa2354eaed59d304ca8e19107b1448 100644 (file)
@@ -33,7 +33,7 @@ namespace HandBrakeWPF.ViewModels
         public EncoderOptionsViewModel()\r
         {\r
             this.Task = new EncodeTask();\r
-            cachedOptions.Add(VideoEncoder.QuickSync, "qsv-num-ref-frame=3:qsv-gop-ref-dist=5:qsv-gop-pic-size=5:qsv-async-depth=4");\r
+            cachedOptions.Add(VideoEncoder.QuickSync, "num-ref-frame=3:gop-ref-dist=5:gop-pic-size=5:async-depth=4");\r
         }\r
 \r
         /// <summary>\r