account for null in camera select #179
Annotations
13 errors
Typecheck:
apps/desktop/src/routes/editor/ConfigSidebar.tsx#L703
Variable 'colorInput' is used before being assigned.
|
Typecheck:
apps/desktop/src/routes/editor/Editor.tsx#L424
Variable 'cropAreaRef' is used before being assigned.
|
Typecheck:
apps/desktop/src/routes/editor/Editor.tsx#L429
Variable 'cropAreaRef' is used before being assigned.
|
Typecheck:
apps/desktop/src/routes/editor/Editor.tsx#L517
Variable 'cropAreaRef' is used before being assigned.
|
Typecheck:
apps/desktop/src/routes/editor/Editor.tsx#L522
Variable 'cropAreaRef' is used before being assigned.
|
Typecheck:
apps/desktop/src/routes/editor/Player.tsx#L46
Variable 'canvasRef' is used before being assigned.
|
Typecheck
Process completed with exit code 2.
|
struct `spa_video_info_raw` has no field named `flags`:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L231
error[E0560]: struct `spa_video_info_raw` has no field named `flags`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:231:13
|
231 | flags: 0,
| ^^^^^ `spa_video_info_raw` does not have this field
|
= note: all struct fields are already assigned
|
no field `flags` on type `spa_video_info_raw`:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L261
error[E0609]: no field `flags` on type `spa_video_info_raw`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:261:16
|
261 | self.0.flags = flags.bits();
| ^^^^^ unknown field
|
= note: available fields are: `format`, `modifier`, `size`, `framerate`, `max_framerate` ... and 10 others
|
no field `flags` on type `spa_video_info_raw`:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L265
error[E0609]: no field `flags` on type `spa_video_info_raw`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:265:45
|
265 | VideoFlags::from_bits_retain(self.0.flags)
| ^^^^^ unknown field
|
= note: available fields are: `format`, `modifier`, `size`, `framerate`, `max_framerate` ... and 10 others
|
mismatched types:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L269
error[E0308]: mismatched types
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:269:27
|
269 | self.0.modifier = modifier;
| --------------- ^^^^^^^^ expected `i64`, found `u64`
| |
| expected due to the type of this binding
|
mismatched types:
home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs#L273
error[E0308]: mismatched types
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libspa-0.8.0/src/param/video/raw.rs:273:9
|
272 | pub fn modifier(self) -> u64 {
| --- expected `u64` because of return type
273 | self.0.modifier
| ^^^^^^^^^^^^^^^ expected `u64`, found `i64`
|
help: you can convert an `i64` to a `u64` and panic if the converted value doesn't fit
|
273 | self.0.modifier.try_into().unwrap()
| ++++++++++++++++++++
|
Clippy
Clippy had exited with the 101 exit code
|