mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
mac-virtualcam: Omit enqueue result codes
This commit is contained in:
parent
1291461219
commit
47d6d7e943
@ -626,10 +626,11 @@ static void virtualcam_output_raw_video(void *data, struct video_data *frame)
|
||||
.presentationTimeStamp =
|
||||
CMTimeMake(frame->timestamp, NSEC_PER_SEC)};
|
||||
|
||||
OSStatus result = CMSampleBufferCreateForImageBuffer(
|
||||
kCFAllocatorDefault, frameRef, true, NULL, NULL,
|
||||
vcam->formatDescription, &timingInfo, &sampleBuffer);
|
||||
result = CMSimpleQueueEnqueue(vcam->queue, sampleBuffer);
|
||||
CMSampleBufferCreateForImageBuffer(kCFAllocatorDefault,
|
||||
frameRef, true, NULL, NULL,
|
||||
vcam->formatDescription,
|
||||
&timingInfo, &sampleBuffer);
|
||||
CMSimpleQueueEnqueue(vcam->queue, sampleBuffer);
|
||||
} else {
|
||||
// Share pixel buffer with clients
|
||||
[vcam->machServer sendPixelBuffer:frameRef
|
||||
|
Loading…
Reference in New Issue
Block a user