diff options
author | sr55 <[email protected]> | 2015-03-09 15:33:05 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-03-09 15:33:05 +0000 |
commit | 5659591f18115c3eeeb94717395148a38cb7a806 (patch) | |
tree | dd033f7fd6676f4fe00b6fb1ace9fe9144c0c2b9 /win | |
parent | 9e9e47cd1913a34bd248a3ac5a8da9765e638bdc (diff) |
WinGui: Fix the Encoder Tune option.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6982 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs b/win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs index 50bd04930..2f99e37a9 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Encode/Factories/EncodeFactory.cs @@ -274,7 +274,10 @@ namespace HandBrake.ApplicationServices.Services.Encode.Factories if (job.VideoTunes != null && job.VideoTunes.Count > 0)
{
- video.Tune = string.Join(",", job.VideoTunes);
+ foreach (var item in job.VideoTunes)
+ {
+ video.Tune += string.IsNullOrEmpty(video.Tune) ? item.ShortName : "," + item.ShortName;
+ }
}
return video;
|