2013-04-29 15:45:38 +00:00
|
|
|
#import "ViewController.h"
|
|
|
|
#import "GStreamerBackend.h"
|
|
|
|
|
|
|
|
@interface ViewController () {
|
|
|
|
GStreamerBackend *gst_backend;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation ViewController
|
|
|
|
|
|
|
|
@synthesize label;
|
|
|
|
|
|
|
|
- (void)viewDidLoad
|
|
|
|
{
|
|
|
|
[super viewDidLoad];
|
|
|
|
// Do any additional setup after loading the view, typically from a nib.
|
|
|
|
gst_backend = [[GStreamerBackend alloc] init];
|
|
|
|
|
2013-05-06 08:29:22 +00:00
|
|
|
label.text = [NSString stringWithFormat:@"Welcome to %@!", [gst_backend getGStreamerVersion]];
|
2013-04-29 15:45:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (void)didReceiveMemoryWarning
|
|
|
|
{
|
|
|
|
[super didReceiveMemoryWarning];
|
|
|
|
// Dispose of any resources that can be recreated.
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|