mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-13 11:49:23 +00:00
parent
9a059583c9
commit
574ad233b4
|
@ -30,6 +30,9 @@ pub struct VideoFrame<T>(
|
|||
PhantomData<T>,
|
||||
);
|
||||
|
||||
unsafe impl<T> Send for VideoFrame<T> {}
|
||||
unsafe impl<T> Sync for VideoFrame<T> {}
|
||||
|
||||
impl<T> VideoFrame<T> {
|
||||
pub fn info(&self) -> &::VideoInfo {
|
||||
&self.2
|
||||
|
|
Loading…
Reference in a new issue