summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-20 07:59:31 +0000
committerritsuka <[email protected]>2015-01-20 07:59:31 +0000
commit6f9fd9e0d521d9f74d9a76cd2de48d9d71383d35 (patch)
treef6519ee2e02c37938528045cb117a057101af925 /macosx/HBVideo.m
parent9f4bbdbbd67e4365466fa6b98453dd0de8983098 (diff)
MacGui: remove the public hb_state property in HBCore, fix a bug in HBVideo and change some strings in the queue job's description.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6777 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBVideo.m')
-rw-r--r--macosx/HBVideo.m9
1 files changed, 8 insertions, 1 deletions
diff --git a/macosx/HBVideo.m b/macosx/HBVideo.m
index b9e4b4435..b719f4e7b 100644
--- a/macosx/HBVideo.m
+++ b/macosx/HBVideo.m
@@ -195,7 +195,14 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
- (void)setVideoOptionExtra:(NSString *)videoOptionExtra
{
[_videoOptionExtra autorelease];
- _videoOptionExtra = [videoOptionExtra copy];
+ if (videoOptionExtra != nil)
+ {
+ _videoOptionExtra = [videoOptionExtra copy];
+ }
+ else
+ {
+ _videoOptionExtra = @"";
+ }
[self postChangedNotification];
}