]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix the Encoder Tune option.
authorsr55 <sr55.hb@outlook.com>
Mon, 9 Mar 2015 15:33:05 +0000 (15:33 +0000)
committersr55 <sr55.hb@outlook.com>
Mon, 9 Mar 2015 15:33:05 +0000 (15:33 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6982 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs

index 50bd049307394734b9e7884bace08a14ae519126..2f99e37a9c426cfa8a5b85282ca5b6afe1081104 100644 (file)
@@ -274,7 +274,10 @@ namespace HandBrake.ApplicationServices.Services.Encode.Factories
 \r
             if (job.VideoTunes != null && job.VideoTunes.Count > 0)\r
             {\r
-                video.Tune = string.Join(",", job.VideoTunes);\r
+                foreach (var item in job.VideoTunes)\r
+                {\r
+                    video.Tune += string.IsNullOrEmpty(video.Tune) ? item.ShortName : "," + item.ShortName;\r
+                }\r
             }\r
 \r
             return video;\r