Add missing software device creation override
This commit is contained in:
parent
f2f63cdfff
commit
def9b2d76f
2 changed files with 9 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue