mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-10 20:52:09 +00:00
30 lines
596 B
Mathematica
30 lines
596 B
Mathematica
|
#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];
|
||
|
|
||
|
label.text = [NSString stringWithFormat:@"Hello %@", [gst_backend getGStreamerVersion], nil];
|
||
|
}
|
||
|
|
||
|
- (void)didReceiveMemoryWarning
|
||
|
{
|
||
|
[super didReceiveMemoryWarning];
|
||
|
// Dispose of any resources that can be recreated.
|
||
|
}
|
||
|
|
||
|
@end
|