mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +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
|
||||
script:
|
||||
- cargo fmt -- --check
|
||||
- touch ./src/*.rs && cargo clippy -- -A clippy::cast_ptr_alignment -A clippy::new_ret_no_self
|
||||
- cargo build
|
||||
- cargo build --no-default-features
|
||||
- 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 let Some(_) = queue.error {
|
||||
if queue.error.is_some() {
|
||||
gst_error!(
|
||||
receiver.0.cat,
|
||||
obj: &element,
|
||||
|
@ -930,7 +930,7 @@ where
|
|||
}
|
||||
|
||||
// If an error happened in the meantime, just go out of here
|
||||
if let Some(_) = queue.error {
|
||||
if queue.error.is_some() {
|
||||
gst_error!(
|
||||
receiver.0.cat,
|
||||
obj: &element,
|
||||
|
|
Loading…
Reference in a new issue