Move the media characteristic tags view to the standard property view.

This commit is contained in:
Damiano Galassi committed 2016-02-18 12:12:37 +01:00
1 parent 1193fc763d
commit fd28ebe60c
14 files changed
+186 -309

No files matched your search

@@ -7,6 +7,7 @@
//
#import "SBVideoViewController.h"
#import "SBMediaTagsController.h"
#import <MP42Foundation/MP42File.h>
@implementation SBVideoViewController
@@ -60,6 +61,13 @@ static NSString *getLevelName(uint8_t level) {
{
[super loadView];
_mediaTagsController = [[SBMediaTagsController alloc] initWithTrack:track];
[_mediaTagsController.view setFrame: [mediaTagsView bounds]];
[_mediaTagsController.view setAutoresizingMask:( NSViewWidthSizable | NSViewHeightSizable )];
[mediaTagsView addSubview:_mediaTagsController.view];
[sampleWidth setStringValue: [NSString stringWithFormat:@"%lld", track.width]];
[sampleHeight setStringValue: [NSString stringWithFormat:@"%lld", track.height]];