Only use graphics card connected to monitor if it's capable of h264 encoding
This commit is contained in:
@@ -11,6 +11,9 @@ namespace va {
|
||||
std::shared_ptr<platf::hwdevice_t> make_hwdevice(int width, int height);
|
||||
std::shared_ptr<platf::hwdevice_t> make_hwdevice(int width, int height, file_t &&card, int offset_x, int offset_y, const egl::surface_descriptor_t &sd);
|
||||
|
||||
// Ensure the render device pointed to by fd is capable of encoding h264
|
||||
bool validate(int fd);
|
||||
|
||||
int init();
|
||||
} // namespace va
|
||||
#endif
|
||||
Reference in New Issue
Block a user