forked from mirrors/gstreamer-rs
video: Mark VideoTimeCode
as #[repr(transparent)]
This commit is contained in:
parent
8f5e373882
commit
ee9157a239
1 changed files with 2 additions and 0 deletions
|
@ -16,8 +16,10 @@ use crate::VideoTimeCodeFlags;
|
||||||
use crate::VideoTimeCodeInterval;
|
use crate::VideoTimeCodeInterval;
|
||||||
|
|
||||||
#[doc(alias = "GstVideoTimeCode")]
|
#[doc(alias = "GstVideoTimeCode")]
|
||||||
|
#[repr(transparent)]
|
||||||
pub struct VideoTimeCode(ffi::GstVideoTimeCode);
|
pub struct VideoTimeCode(ffi::GstVideoTimeCode);
|
||||||
#[doc(alias = "GstVideoTimeCode")]
|
#[doc(alias = "GstVideoTimeCode")]
|
||||||
|
#[repr(transparent)]
|
||||||
pub struct ValidVideoTimeCode(ffi::GstVideoTimeCode);
|
pub struct ValidVideoTimeCode(ffi::GstVideoTimeCode);
|
||||||
|
|
||||||
impl VideoTimeCode {
|
impl VideoTimeCode {
|
||||||
|
|
Loading…
Reference in a new issue