fix output res&frame rate

This commit is contained in:
Johanness
2026-05-30 23:07:15 +03:00
parent 2206fd71b3
commit 003279669e
2 changed files with 41 additions and 18 deletions
+5 -1
View File
@@ -41,7 +41,8 @@ private:
void schedule_frame(void* mxl_payload, long width, long height, long row_bytes);
std::optional<mxlFlowReader> reader_;
mxlRational grain_rate_{50, 1};
mxlRational flow_rate_{50, 1};
mxlRational output_rate_{50, 1};
uint64_t read_index_ = 0;
uint64_t grains_read_ = 0;
@@ -55,6 +56,9 @@ private:
BMDTimeScale time_scale_ = 50000;
std::atomic<bool> playing_{false};
bool is_interlaced_ = false;
long out_width_ = 1920;
long out_height_ = 1080;
class OutputCallback : public IDeckLinkVideoOutputCallback {
public: