diff options
author | sr55 <[email protected]> | 2012-03-04 16:27:56 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-03-04 16:27:56 +0000 |
commit | 376eae49e2c14f4acdbd644908e162ac6a2c5c3e (patch) | |
tree | 1093c1625c7a1c4399b9d114eb7bbecba9c4b65c /win/CS/HandBrake.ApplicationServices/Services | |
parent | 24bbf1b361a7b9cb78208b43cfec59173757ae24 (diff) |
WinGui: (WPF) Add basic Preview window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4495 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs b/win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs index 84c6252a2..e2eacce72 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Base/EncodeBase.cs @@ -366,7 +366,7 @@ namespace HandBrake.ApplicationServices.Services.Base // Make sure the path exists, attempt to create it if it doesn't
try
{
- string path = Directory.GetParent(task.Destination).ToString();
+ string path = Directory.GetParent(task.Destination ?? task.Task.Destination).ToString();
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
|