wip: set bitrate at runtime
This commit is contained in:
@@ -38,8 +38,8 @@ public:
|
||||
};
|
||||
|
||||
protected:
|
||||
video_encoder_ffmpeg(uint8_t stream_idx, to_headset::video_stream_description::channels_t channels) :
|
||||
wivrn::video_encoder(stream_idx, channels, true) {}
|
||||
video_encoder_ffmpeg(uint8_t stream_idx, to_headset::video_stream_description::channels_t channels, double bitrate_multiplier) :
|
||||
wivrn::video_encoder(stream_idx, channels, bitrate_multiplier, true) {}
|
||||
|
||||
virtual void push_frame(bool idr, std::chrono::steady_clock::time_point pts, uint8_t slot) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user