forked from mirrors/gstreamer-rs
Implement Send+Sync for VideoInfo too
It's also immutable here.
This commit is contained in:
parent
46327b231f
commit
1cb1cf9936
1 changed files with 3 additions and 0 deletions
|
@ -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()) }
|
||||||
|
|
Loading…
Reference in a new issue