mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 13:31:00 +00:00
Fix BaseSrc::unlock_stop() calling unlock(), and BaseSink
This commit is contained in:
parent
2996eaf287
commit
a0a01f3013
2 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ macro_rules! box_base_sink_impl(
|
||||||
|
|
||||||
fn unlock_stop(&self, element: &T) -> bool {
|
fn unlock_stop(&self, element: &T) -> bool {
|
||||||
let imp: &$name<T> = self.as_ref();
|
let imp: &$name<T> = self.as_ref();
|
||||||
imp.unlock(element)
|
imp.unlock_stop(element)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -339,7 +339,7 @@ macro_rules! box_base_src_impl(
|
||||||
|
|
||||||
fn unlock_stop(&self, element: &T) -> bool {
|
fn unlock_stop(&self, element: &T) -> bool {
|
||||||
let imp: &$name<T> = self.as_ref();
|
let imp: &$name<T> = self.as_ref();
|
||||||
imp.unlock(element)
|
imp.unlock_stop(element)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue