Skip to content

Commit

Permalink
fixed breaking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
marci1175 committed Aug 14, 2024
1 parent 74e353f commit ee4bbd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wincam"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
authors = ["Varga Marcell <[email protected]>"]
repository = "https://github.com/marci1175/wincam"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl Webcam {
cvt_color_def(&frame, &mut corrected_frame, COLOR_BGR2RGB)?;

//Return captured frame
Ok((frame.data_bytes()?.to_vec(), corrected_frame.size()?))
Ok((corrected_frame.data_bytes()?.to_vec(), corrected_frame.size()?))
}

/// Get the backend api's name
Expand Down

0 comments on commit ee4bbd1

Please sign in to comment.