summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideoController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBVideoController.m')
-rw-r--r--macosx/HBVideoController.m17
1 files changed, 1 insertions, 16 deletions
diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m
index 42ee4d542..8819ac93e 100644
--- a/macosx/HBVideoController.m
+++ b/macosx/HBVideoController.m
@@ -5,9 +5,8 @@
It may be used under the terms of the GNU General Public License. */
#import "HBVideoController.h"
-#import "Controller.h"
#import "HBAdvancedController.h"
-#import "HBVideo.h"
+#import "HBVideo+UIAdditions.h"
#include "hb.h"
@@ -67,9 +66,6 @@ static void *HBVideoControllerContext = &HBVideoControllerContext;
// will use the HBJob one in the future.
_video = [[HBVideo alloc] init];
- // register that we are interested in changes made to the video container.
- [[NSNotificationCenter defaultCenter] addObserver:self selector: @selector(containerChanged:) name:HBContainerChangedNotification object:nil];
-
// Observe the advanced tab pref shown/hided state.
[[NSUserDefaultsController sharedUserDefaultsController] addObserver:self
forKeyPath:@"values.HBShowAdvancedTab"
@@ -92,12 +88,6 @@ static void *HBVideoControllerContext = &HBVideoControllerContext;
return self;
}
-- (void)loadView
-{
- [super loadView];
- [self switchPresetView];
-}
-
- (void)setEnabled:(BOOL)flag
{
_enabled = flag;
@@ -182,11 +172,6 @@ static void *HBVideoControllerContext = &HBVideoControllerContext;
}
}
-- (void)containerChanged:(NSNotification *)aNotification
-{
- self.video.container = [[aNotification userInfo][keyContainerTag] intValue];
-}
-
#pragma mark - Interface setup
/*