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

This commit is contained in:
Sebastian Dröge 2022-01-17 19:55:10 +02:00 committed by Sebastian Dröge
parent 8f5e373882
commit ee9157a239

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 {