mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-02-16 19:15:30 +00:00
parent
9a059583c9
commit
574ad233b4
1 changed files with 3 additions and 0 deletions
|
@ -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