fix(linux): add frame processing latency and logging improvements (#2502)

This commit is contained in:
Gilles Schintgen
2024-05-13 00:55:43 +02:00
committed by GitHub
parent 659a426b03
commit 0a595dc7d2
5 changed files with 14 additions and 2 deletions

View File

@@ -371,7 +371,7 @@ namespace va {
return -1;
}
BOOST_LOG(debug) << "vaapi vendor: "sv << vaQueryVendorString(display.get());
BOOST_LOG(info) << "vaapi vendor: "sv << vaQueryVendorString(display.get());
*hw_device_buf = av_hwdevice_ctx_alloc(AV_HWDEVICE_TYPE_VAAPI);
auto ctx = (AVHWDeviceContext *) (*hw_device_buf)->data;