Omit single copy of frame with VAAPI if possible

This commit is contained in:
Loki
2021-08-26 23:59:32 +02:00
parent b59df48dde
commit 00de30d336
5 changed files with 42 additions and 39 deletions

View File

@@ -298,6 +298,10 @@ public:
return std::make_shared<platf::hwdevice_t>();
}
int dummy_img(platf::img_t *img) override {
return snapshot(img, 1000ms, false) != platf::capture_e::ok;
}
std::uint64_t sequence {};
};