From d4a4a3ccd682ae6992902321e6bfcea0ff8c89a9 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Thu, 6 Aug 2015 09:48:39 +0000 Subject: MacGui: second part of the previous commit git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7392 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBVideo+UIAdditions.m | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'macosx/HBVideo+UIAdditions.m') diff --git a/macosx/HBVideo+UIAdditions.m b/macosx/HBVideo+UIAdditions.m index cd07bde11..f0e6b2678 100644 --- a/macosx/HBVideo+UIAdditions.m +++ b/macosx/HBVideo+UIAdditions.m @@ -248,6 +248,11 @@ int _encoder; } +- (instancetype)init +{ + @throw nil; +} + - (instancetype)initWithEncoder:(int)encoder { self = [super init]; @@ -308,6 +313,11 @@ double _max; } +- (instancetype)init +{ + return [self initWithReversedDirection:NO min:0 max:50]; +} + - (instancetype)initWithReversedDirection:(BOOL)reverse min:(double)min max:(double)max { self = [super init]; -- cgit v1.2.3