Only use graphics card connected to monitor if it's capable of h264 encoding
This commit is contained in:
parent
fdb7754043
commit
d852bb82a3
3 changed files with 185 additions and 8 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue