gstreamer: pad: fix build on Windows

GstPadProbeInfo.id is a gulong which are 32 bits on Windows.
This commit is contained in:
Guillaume Desmottes 2020-01-09 15:25:55 +05:30 committed by Sebastian Dröge
parent 38db96859b
commit a9adac85aa

View file

@ -1033,7 +1033,7 @@ where
let mut probe_info = PadProbeInfo { let mut probe_info = PadProbeInfo {
mask: from_glib((*info).type_), mask: from_glib((*info).type_),
id: PadProbeId(NonZeroU64::new_unchecked((*info).id)), id: PadProbeId(NonZeroU64::new_unchecked((*info).id as u64)),
offset: (*info).offset, offset: (*info).offset,
size: (*info).size, size: (*info).size,
data: if (*info).data.is_null() { data: if (*info).data.is_null() {