avfvideosrc: fix compilation with gcc

The synthesize block needs to be moved to fix a compiler error
This commit is contained in:
Andoni Morales Alastruey 2013-11-06 18:50:46 +01:00
parent 94d77829a4
commit 606a50e550

View file

@ -137,6 +137,9 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
@implementation GstAVFVideoSrcImpl
@synthesize deviceIndex, doStats, fps, captureScreen,
captureScreenCursor, captureScreenMouseClicks;
- (id)init
{
return [self initWithSrc:NULL];
@ -179,9 +182,6 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
[super finalize];
}
@synthesize deviceIndex, doStats, fps, captureScreen,
captureScreenCursor, captureScreenMouseClicks;
- (BOOL)openDeviceInput
{
NSString *mediaType = AVMediaTypeVideo;