From ee9157a23900543a37aaef309c5249223a7e67bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 17 Jan 2022 19:55:10 +0200 Subject: [PATCH] video: Mark `VideoTimeCode` as `#[repr(transparent)]` --- gstreamer-video/src/video_time_code.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gstreamer-video/src/video_time_code.rs b/gstreamer-video/src/video_time_code.rs index a46807dfa..4d9005941 100644 --- a/gstreamer-video/src/video_time_code.rs +++ b/gstreamer-video/src/video_time_code.rs @@ -16,8 +16,10 @@ use crate::VideoTimeCodeFlags; use crate::VideoTimeCodeInterval; #[doc(alias = "GstVideoTimeCode")] +#[repr(transparent)] pub struct VideoTimeCode(ffi::GstVideoTimeCode); #[doc(alias = "GstVideoTimeCode")] +#[repr(transparent)] pub struct ValidVideoTimeCode(ffi::GstVideoTimeCode); impl VideoTimeCode {