gstreamer/gst-sdk/tutorials/xcode iOS/Tutorial 1/GStreamerBackend.m
2013-05-02 13:43:43 +02:00

16 lines
307 B
Objective-C

#import "GStreamerBackend.h"
#include <gst/gst.h>
@implementation GStreamerBackend
-(NSString*) getGStreamerVersion
{
char *version_utf8 = gst_version_string();
NSString *version_string = [NSString stringWithUTF8String:version_utf8];
g_free(version_utf8);
return version_string;
}
@end