filter/graph: implement Send and Sync

This commit is contained in:
lummax
2015-09-30 15:46:55 +02:00
committed by meh
parent a33d97640d
commit 56bb62eae3

View File

@ -11,6 +11,9 @@ pub struct Graph {
ptr: *mut AVFilterGraph,
}
unsafe impl Send for Graph { }
unsafe impl Sync for Graph { }
impl Graph {
pub unsafe fn wrap(ptr: *mut AVFilterGraph) -> Self {
Graph { ptr: ptr }