video: Mark VideoTimeCode as #[repr(transparent)]

This commit is contained in:
Sebastian Dröge 2022-01-17 19:55:10 +02:00
parent 03087ddfb0
commit 7018e5641a

View file

@ -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 {