mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-09-28 23:02:13 +00:00
Fix travis CI
This commit is contained in:
parent
43eee4740b
commit
b0b42f8f17
2 changed files with 4 additions and 4 deletions
|
@ -26,5 +26,5 @@ install:
|
||||||
- rustup component add clippy-preview
|
- rustup component add clippy-preview
|
||||||
script:
|
script:
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
- touch ./src/*.rs && cargo clippy -- -A clippy::cast_ptr_alignment -A clippy::new_ret_no_self
|
- cargo build --no-default-features
|
||||||
- cargo build
|
- touch ./src/*.rs && cargo clippy --no-default-features -- -A clippy::cast_ptr_alignment -A clippy::new_ret_no_self -Aclippy::or_fun_call -A clippy::cast_lossless -A clippy::too_many_arguments
|
|
@ -891,7 +891,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
// If an error happened in the meantime, just go out of here
|
// If an error happened in the meantime, just go out of here
|
||||||
if let Some(_) = queue.error {
|
if queue.error.is_some() {
|
||||||
gst_error!(
|
gst_error!(
|
||||||
receiver.0.cat,
|
receiver.0.cat,
|
||||||
obj: &element,
|
obj: &element,
|
||||||
|
@ -930,7 +930,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
// If an error happened in the meantime, just go out of here
|
// If an error happened in the meantime, just go out of here
|
||||||
if let Some(_) = queue.error {
|
if queue.error.is_some() {
|
||||||
gst_error!(
|
gst_error!(
|
||||||
receiver.0.cat,
|
receiver.0.cat,
|
||||||
obj: &element,
|
obj: &element,
|
||||||
|
|
Loading…
Reference in a new issue