mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-30 21:32:52 +00:00
Add missing software device creation override
This commit is contained in:
parent
f2f63cdfff
commit
def9b2d76f
@ -194,6 +194,9 @@ namespace platf::dxgi {
|
|||||||
int
|
int
|
||||||
init(const ::video::config_t &config, const std::string &display_name);
|
init(const ::video::config_t &config, const std::string &display_name);
|
||||||
|
|
||||||
|
std::unique_ptr<avcodec_encode_device_t>
|
||||||
|
make_avcodec_encode_device(pix_fmt_e pix_fmt) override;
|
||||||
|
|
||||||
cursor_t cursor;
|
cursor_t cursor;
|
||||||
D3D11_MAPPED_SUBRESOURCE img_info;
|
D3D11_MAPPED_SUBRESOURCE img_info;
|
||||||
texture2d_t texture;
|
texture2d_t texture;
|
||||||
|
@ -389,4 +389,10 @@ namespace platf::dxgi {
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::unique_ptr<avcodec_encode_device_t>
|
||||||
|
display_ram_t::make_avcodec_encode_device(pix_fmt_e pix_fmt) {
|
||||||
|
return std::make_unique<avcodec_encode_device_t>();
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace platf::dxgi
|
} // namespace platf::dxgi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user