mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-23 16:40:34 +00:00
threadshare: Use into_glib_ptr()
instead of into_ptr()
This commit is contained in:
parent
817231b4d0
commit
2f16b5dd3e
|
@ -83,7 +83,7 @@ impl RTPJitterBufferItem {
|
||||||
ptr::write(
|
ptr::write(
|
||||||
ptr.as_ptr(),
|
ptr.as_ptr(),
|
||||||
ffi::RTPJitterBufferItem {
|
ffi::RTPJitterBufferItem {
|
||||||
data: buffer.into_ptr() as *mut _,
|
data: buffer.into_glib_ptr() as *mut _,
|
||||||
next: ptr::null_mut(),
|
next: ptr::null_mut(),
|
||||||
prev: ptr::null_mut(),
|
prev: ptr::null_mut(),
|
||||||
r#type: 0,
|
r#type: 0,
|
||||||
|
|
Loading…
Reference in a new issue