help: a similar name exists in the module: register_t
error[E0599]: no method named codec found for reference &StreamMut<'_> in the current scope
--> /home/frag/.cargo/registry/src/github.com-1ecc6299db9ec823/video-rs-0.1.8/src/encode.rs:363:8
|
363 | .codec()
| ^^^^^ method not found in &StreamMut<'_>
error[E0599]: no method named codec found for struct Stream in the current scope
--> /home/frag/.cargo/registry/src/github.com-1ecc6299db9ec823/video-rs-0.1.8/src/mux.rs:316:19
|
316 | if stream.codec().id() == AvCodecId::H264 {
| ^^^^^ method not found in Stream<'_>
Some errors have detailed explanations: E0432, E0599.
For more information about an error, try rustc --explain E0432.
error: could not compile video-rs due to 3 previous errors
ffmpeg::format::register_all
--> /home/frag/.cargo/registry/src/github.com-1ecc6299db9ec823/video-rs-0.1.8/src/init.rs:6:5register_all
informat
register_t
error[E0599]: no method named
codec
found for reference&StreamMut<'_>
in the current scope --> /home/frag/.cargo/registry/src/github.com-1ecc6299db9ec823/video-rs-0.1.8/src/encode.rs:363:8 | 363 | .codec() | ^^^^^ method not found in&StreamMut<'_>
error[E0599]: no method named
codec
found for structStream
in the current scope --> /home/frag/.cargo/registry/src/github.com-1ecc6299db9ec823/video-rs-0.1.8/src/mux.rs:316:19 | 316 | if stream.codec().id() == AvCodecId::H264 { | ^^^^^ method not found inStream<'_>
Some errors have detailed explanations: E0432, E0599. For more information about an error, try
rustc --explain E0432
. error: could not compilevideo-rs
due to 3 previous errors