mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-31 21:22:22 +00:00
Merge pull request #84 from sdroege/unsigned-c-char
Fix compilation on platforms with unsigned `c_char`
This commit is contained in:
commit
4b00c7d40b
1 changed files with 1 additions and 1 deletions
|
@ -804,7 +804,7 @@ impl<'a> VideoFrame<'a> {
|
||||||
picture_aspect_ratio,
|
picture_aspect_ratio,
|
||||||
frame_format_type,
|
frame_format_type,
|
||||||
timecode,
|
timecode,
|
||||||
p_data: frame.plane_data(0).unwrap().as_ptr() as *const i8,
|
p_data: frame.plane_data(0).unwrap().as_ptr() as *const ::std::os::raw::c_char,
|
||||||
line_stride_or_data_size_in_bytes: frame.plane_stride()[0],
|
line_stride_or_data_size_in_bytes: frame.plane_stride()[0],
|
||||||
p_metadata: ptr::null(),
|
p_metadata: ptr::null(),
|
||||||
timestamp: 0,
|
timestamp: 0,
|
||||||
|
|
Loading…
Reference in a new issue