mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-18 13:33:27 -04:00
decklink: Schedule video frames for playback
DisplayVideoFrameSync is unusable at 4K, over 20 milliseconds per call. ScheduleVideoFrame is probably what we should have been using all along.
This commit is contained in:
@@ -130,7 +130,7 @@ static void decklink_output_raw_video(void *data, struct video_data *frame)
|
||||
if (!decklink->start_timestamp)
|
||||
decklink->start_timestamp = frame->timestamp;
|
||||
|
||||
decklink->DisplayVideoFrame(frame);
|
||||
decklink->UpdateVideoFrame(frame);
|
||||
}
|
||||
|
||||
static bool prepare_audio(DeckLinkOutput *decklink,
|
||||
|
||||
Reference in New Issue
Block a user