mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
remove virtual from set_bitrate
This commit is contained in:
1 parent
d61932cc1c
commit
d552d24e60
1 file changed
+4
-4
@@ -101,6 +101,9 @@ private:
|
||||
|
||||
std::shared_ptr<sender> shared_sender;
|
||||
|
||||
protected:
|
||||
std::atomic_int pending_bitrate;
|
||||
|
||||
public:
|
||||
static std::unique_ptr<video_encoder> create(
|
||||
wivrn_vk_bundle &,
|
||||
@@ -124,15 +127,12 @@ public:
|
||||
|
||||
virtual void on_feedback(const from_headset::feedback &);
|
||||
virtual void reset();
|
||||
virtual void set_bitrate(int bitrate_bps);
|
||||
void set_bitrate(int bitrate_bps);
|
||||
|
||||
void encode(wivrn_session & cnx,
|
||||
const to_headset::video_stream_data_shard::view_info_t & view_info,
|
||||
uint64_t frame_index);
|
||||
|
||||
protected:
|
||||
std::atomic_int pending_bitrate;
|
||||
|
||||
// called on present to submit command buffers for the image.
|
||||
virtual std::pair<bool, vk::Semaphore> present_image(vk::Image y_cbcr, vk::raii::CommandBuffer & cmd_buf, uint8_t slot, uint64_t frame_index) = 0;
|
||||
// called after command buffer passed in present_image was submitted
|
||||
|
||||
Reference in new issue
Block a user