Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error ffmpeg-next 7.0.1 pixel.rs #186

Open
iDevPro opened this issue May 20, 2024 · 1 comment
Open

Build error ffmpeg-next 7.0.1 pixel.rs #186

iDevPro opened this issue May 20, 2024 · 1 comment

Comments

@iDevPro
Copy link

iDevPro commented May 20, 2024

Hello, i have a trouble with compile project which use ffmpeg-next 7.0.1 dependency (fotema)
The build failed when build ffmpeg-next/src/util/format/pixel.rs with next error:

       not covered
    = note: the matched value is of type `sys::AVPixelFormat`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
    |
824 ~             AV_PIX_FMT_GBRAP14LE => Pixel::GBRAP14LE,
825 ~             sys::AVPixelFormat::AV_PIX_FMT_NV15 | sys::AVPixelFormat::AV_PIX_FMT_NV20NP => todo!(),
    |

For more information about this error, try `rustc --explain E0004`.
error: could not compile `ffmpeg-next` (lib) due to 1 previous error

at first glance, this file does not contain the necessary code about pix formats AV_PIX_FMT_NV15 and AV_PIX_FMT_NV20NP

@gopower
Copy link

gopower commented Jun 27, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants