fix output res&frame rate
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user