update hwcodec, build linux ffmpeg lib on ubuntu 18 (#7897)

* Build linux ffmpeg lib on ubuntu 18 container
* Fix ffmpeg ram nvnec not work if the display connected to nvidia gpu
  is not the primary display
* Fix windows mfx lib link error if vram feature is not enabled.

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2024-05-03 13:05:21 +08:00 committed by GitHub
parent b471b934f2
commit 4cf709fc26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
Cargo.lock generated
View File

@ -3038,8 +3038,8 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "hwcodec"
version = "0.4.7"
source = "git+https://github.com/21pages/hwcodec#cc1e4412e0ea5e27a8a820a29051b1eeb42933e5"
version = "0.4.8"
source = "git+https://github.com/21pages/hwcodec#7cb16c64f4657385dd2adefcac7cff89088f4e6d"
dependencies = [
"bindgen 0.59.2",
"cc",