mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-30 12:32:43 +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
|
||||
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;
|
||||
D3D11_MAPPED_SUBRESOURCE img_info;
|
||||
texture2d_t texture;
|
||||
|
@ -389,4 +389,10 @@ namespace platf::dxgi {
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user