forked from mirrors/gstreamer-rs
parent
ec8727c3ca
commit
aea6f79ef9
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