mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Add global hardware acceleration codec switch
This commit is contained in:
@@ -7,10 +7,8 @@ class VideoEncoderFactory {
|
||||
VideoEncoderFactory();
|
||||
~VideoEncoderFactory();
|
||||
|
||||
static VideoEncoder *CreateVideoEncoder(bool hardware_acceleration);
|
||||
|
||||
private:
|
||||
bool hardware_acceleration_ = false;
|
||||
static std::unique_ptr<VideoEncoder> CreateVideoEncoder(
|
||||
bool hardware_acceleration);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user