decklink-out: preroll frames before StartScheduledPlayback, detect output format

This commit is contained in:
Johanness
2026-05-30 23:21:13 +03:00
parent a3cd45cc49
commit 26febc41d6
2 changed files with 44 additions and 24 deletions
@@ -55,6 +55,8 @@ private:
IDeckLinkOutput* output_ = nullptr;
BMDTimeValue frame_duration_ = 1000;
BMDTimeScale time_scale_ = 50000;
BMDPixelFormat output_format_ = bmdFormat10BitYUV;
int preroll_frames_ = 3;
std::atomic<bool> playing_{false};
int create_fail_count_ = 0;