diff options
author | ritsuka <[email protected]> | 2015-06-01 17:18:35 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-06-01 17:18:35 +0000 |
commit | c0cb605ff2e3fff65db994506df8f6f7253b5ad8 (patch) | |
tree | 52032597d3815bf4b424dc9a1a4f521751c6f329 /macosx/HBJob+UIAdditions.m | |
parent | abefd8dfa1e9a4690e1487b854b25eeb247c1903 (diff) |
MacGui: do not try to create a NSURL if the path if empty. Encode the right type for the deblock filter.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7255 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob+UIAdditions.m')
-rw-r--r-- | macosx/HBJob+UIAdditions.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m index 2d126dd5b..7eae8a773 100644 --- a/macosx/HBJob+UIAdditions.m +++ b/macosx/HBJob+UIAdditions.m @@ -556,7 +556,11 @@ static NSDictionary *shortHeightAttr; - (id)reverseTransformedValue:(id)value { - return [NSURL fileURLWithPath:value]; + if (value) + { + return [NSURL fileURLWithPath:value]; + } + return nil; } @end |