filter/graph: implement Send
and Sync
This commit is contained in:
@ -11,6 +11,9 @@ pub struct Graph {
|
|||||||
ptr: *mut AVFilterGraph,
|
ptr: *mut AVFilterGraph,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for Graph { }
|
||||||
|
unsafe impl Sync for Graph { }
|
||||||
|
|
||||||
impl Graph {
|
impl Graph {
|
||||||
pub unsafe fn wrap(ptr: *mut AVFilterGraph) -> Self {
|
pub unsafe fn wrap(ptr: *mut AVFilterGraph) -> Self {
|
||||||
Graph { ptr: ptr }
|
Graph { ptr: ptr }
|
||||||
|
Reference in New Issue
Block a user