video: Don't unref video codec state in set_format()

5 jobs for master in 8 minutes and 6 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Lint
passed #317701
rustfmt

00:00:18

 
  Test
passed #317702
test 1.31

00:06:16

failed #317704
allowed to fail
test nightly

00:04:39

passed #317703
test stable

00:06:06

 
  Extras
failed #317705
allowed to fail
clippy

00:01:31

 
Name Stage Failure
failed
clippy Extras

After determining the correct date, install it with a command such as:

rustup toolchain install nightly-2018-12-27

Then you can use the toolchain with commands such as:

cargo +nightly-2018-12-27 build
ERROR: Job failed: exit code 1
failed
test nightly Test
              found type `std::option::Option<&caps::CapsRef>`

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0308`.
error: Could not compile `gstreamer`.
warning: build failed, waiting for other jobs to finish...
error: build failed
ERROR: Job failed: exit code 1