summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo+UIAdditions.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-08-06 09:48:39 +0000
committerritsuka <[email protected]>2015-08-06 09:48:39 +0000
commitd4a4a3ccd682ae6992902321e6bfcea0ff8c89a9 (patch)
treea87056672ceda97c51ea60cdb21fc7179622c0cb /macosx/HBVideo+UIAdditions.m
parentdbcbcdf1cbe9e0db0177c1d34cca91b6bd41f5a5 (diff)
MacGui: second part of the previous commit
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7392 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBVideo+UIAdditions.m')
-rw-r--r--macosx/HBVideo+UIAdditions.m10
1 files changed, 10 insertions, 0 deletions
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];