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:
jpark37
2023-03-28 09:45:10 -07:00
committed by Jim
parent 83e3d531dc
commit ac87106f03
7 changed files with 160 additions and 35 deletions

View File

@@ -82,9 +82,9 @@ obs_output_t *DeckLinkOutput::GetOutput(void) const
return output;
}
void DeckLinkOutput::DisplayVideoFrame(video_data *frame)
void DeckLinkOutput::UpdateVideoFrame(video_data *frame)
{
instance->DisplayVideoFrame(frame);
instance->UpdateVideoFrame(frame);
}
void DeckLinkOutput::WriteAudio(audio_data *frames)