Skip to content

Commit

Permalink
Updated type from i8 to u8 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
blokfyuh authored Nov 4, 2021
1 parent 1f71823 commit aaeed98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ndi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ impl<'a> VideoFrame<'a> {
picture_aspect_ratio,
frame_format_type,
timecode,
p_data: frame.plane_data(0).unwrap().as_ptr() as *const i8,
p_data: frame.plane_data(0).unwrap().as_ptr() as *const u8,
line_stride_or_data_size_in_bytes: frame.plane_stride()[0],
p_metadata: ptr::null(),
timestamp: 0,
Expand Down

0 comments on commit aaeed98

Please sign in to comment.