mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-23 01:51:06 +00:00
gstreamer: pad: fix build on Windows
GstPadProbeInfo.id is a gulong which are 32 bits on Windows.
This commit is contained in:
parent
38db96859b
commit
a9adac85aa
1 changed files with 1 additions and 1 deletions
|
@ -1033,7 +1033,7 @@ where
|
|||
|
||||
let mut probe_info = PadProbeInfo {
|
||||
mask: from_glib((*info).type_),
|
||||
id: PadProbeId(NonZeroU64::new_unchecked((*info).id)),
|
||||
id: PadProbeId(NonZeroU64::new_unchecked((*info).id as u64)),
|
||||
offset: (*info).offset,
|
||||
size: (*info).size,
|
||||
data: if (*info).data.is_null() {
|
||||
|
|
Loading…
Reference in a new issue