multimedia/wl-screenrec: unbreak build with ffmpeg 6.1
error[E0004]: non-exhaustive patterns: sys::AVPixelFormat::AV_PIX_FMT_P212BE, sys::AVPixelFormat::AV_PIX_FMT_P212LE, sys::AVPixelFormat::AV_PIX_FMT_P412BE and 3 more not covered
--> cargo-crates/ffmpeg-next-6.0.0/src/util/format/pixel.rs:467:15 |
467 | match value {
| ^^^^^ patterns `sys::AVPixelFormat::AV_PIX_FMT_P212BE`, `sys::AVPixelFormat::AV_PIX_FMT_P212LE`, `sys::AVPixelFormat::AV_PIX_FMT_P412BE` and 3 more not covered |
note: sys::AVPixelFormat defined here
--> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/target/x86_64-unknown-freebsd/release/build/ffmpeg-sys-next-8e1bcbc25d8d3e7a/out/bindings.rs:4814:1 |
4814 | pub enum AVPixelFormat {
| ^^^^^^^^^^^^^^^^^^^^^^ = 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 as shown, or multiple match arms
|
797 ~ AV_PIX_FMT_RGBAF32LE => Pixel::RGBAF32LE,
798 ~ _ => todo!(),
|
error[E0004]: non-exhaustive patterns: sys::AVFrameSideDataType::AV_FRAME_DATA_VIDEO_HINT not covered
--> cargo-crates/ffmpeg-next-6.0.0/src/util/frame/side_data.rs:78:15 |
78 | match value {
| ^^^^^ pattern `sys::AVFrameSideDataType::AV_FRAME_DATA_VIDEO_HINT` not covered |
note: sys::AVFrameSideDataType defined here
--> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/target/x86_64-unknown-freebsd/release/build/ffmpeg-sys-next-8e1bcbc25d8d3e7a/out/bindings.rs:6198:5 |
6142 | pub enum AVFrameSideDataType {
| ----------------------------
...
6198 | AV_FRAME_DATA_VIDEO_HINT = 27,
| ^^^^^^^^^^^^^^^^^^^^^^^^ not covered = note: the matched value is of type `sys::AVFrameSideDataType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
128 ~ AV_FRAME_DATA_AMBIENT_VIEWING_ENVIRONMENT => Type::AMBIENT_VIEWING_ENVIRONMENT,
129 ~ sys::AVFrameSideDataType::AV_FRAME_DATA_VIDEO_HINT => todo!(),
|
error[E0004]: non-exhaustive patterns: sys::AVCodecID::AV_CODEC_ID_PDV, sys::AVCodecID::AV_CODEC_ID_EVC, sys::AVCodecID::AV_CODEC_ID_RTV1 and 4 more not covered
--> cargo-crates/ffmpeg-next-6.0.0/src/codec/id.rs:664:15 |
664 | match value {
| ^^^^^ patterns `sys::AVCodecID::AV_CODEC_ID_PDV`, `sys::AVCodecID::AV_CODEC_ID_EVC`, `sys::AVCodecID::AV_CODEC_ID_RTV1` and 4 more not covered |
note: sys::AVCodecID defined here
--> /wrkdirs/usr/ports/multimedia/wl-screenrec/work/target/x86_64-unknown-freebsd/release/build/ffmpeg-sys-next-8e1bcbc25d8d3e7a/out/bindings.rs:7632:1 |
7632 | pub enum AVCodecID {
| ^^^^^^^^^^^^^^^^^^ = note: the matched value is of type `sys::AVCodecID`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
|
1297 ~ AV_CODEC_ID_ANULL => Id::ANULL,
1298 ~ _ => todo!(),
|
For more information about this error, try rustc --explain E0004.
error: could not compile ffmpeg-next (lib) due to 3 previous errors
PR: 274439