Commit ae8b56e7 authored by Felix Paul Kühne's avatar Felix Paul Kühne

qtcapture: fix 10.6 runtime support

parent b4bf9dee
...@@ -347,7 +347,7 @@ static int Open(vlc_object_t *p_this) ...@@ -347,7 +347,7 @@ static int Open(vlc_object_t *p_this)
@(kCVPixelFormatType_422YpCbCr8), (id)kCVPixelBufferPixelFormatTypeKey, @(kCVPixelFormatType_422YpCbCr8), (id)kCVPixelBufferPixelFormatTypeKey,
@(p_sys->height), kCVPixelBufferHeightKey, @(p_sys->height), kCVPixelBufferHeightKey,
@(p_sys->width), kCVPixelBufferWidthKey, @(p_sys->width), kCVPixelBufferWidthKey,
@YES, (id)kCVPixelBufferOpenGLCompatibilityKey, [NSNumber numberWithBool:YES], (id)kCVPixelBufferOpenGLCompatibilityKey,
nil]]; nil]];
[p_sys->output setAutomaticallyDropsLateVideoFrames:YES]; [p_sys->output setAutomaticallyDropsLateVideoFrames:YES];
[p_sys->output setMinimumVideoFrameInterval: (1/25)]; // 25 fps [p_sys->output setMinimumVideoFrameInterval: (1/25)]; // 25 fps
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment