Properly scale image on VAAPI

This commit is contained in:
loki
2021-06-05 12:25:19 +02:00
parent 6b9ed7fcb3
commit f2863cceb7
6 changed files with 34 additions and 20 deletions

View File

@@ -192,7 +192,7 @@ public:
virtual int dummy_img(img_t *img) = 0;
virtual std::shared_ptr<hwdevice_t> make_hwdevice(int width, int height, pix_fmt_e pix_fmt) {
virtual std::shared_ptr<hwdevice_t> make_hwdevice(pix_fmt_e pix_fmt) {
return std::make_shared<hwdevice_t>();
}