mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
avfvideosrc: fix compilation with gcc
The synthesize block needs to be moved to fix a compiler error
This commit is contained in:
parent
94d77829a4
commit
606a50e550
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue