Implement Send+Sync for VideoInfo too

It's also immutable here.
This commit is contained in:
Sebastian Dröge 2017-08-15 17:34:32 +03:00
parent 46327b231f
commit 1cb1cf9936

View file

@ -578,6 +578,9 @@ impl PartialEq for VideoInfo {
impl Eq for VideoInfo {} impl Eq for VideoInfo {}
unsafe impl Sync for VideoInfo {}
unsafe impl Send for VideoInfo {}
impl glib::types::StaticType for VideoInfo { impl glib::types::StaticType for VideoInfo {
fn static_type() -> glib::types::Type { fn static_type() -> glib::types::Type {
unsafe { glib::translate::from_glib(ffi::gst_video_info_get_type()) } unsafe { glib::translate::from_glib(ffi::gst_video_info_get_type()) }