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:
parent
83e3d531dc
commit
ac87106f03
7 changed files with 160 additions and 35 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue