mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
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