forked from mirrors/gstreamer-rs
Implement Sync for VideoInfo and AudioInfo
They are immutable on the Rust side after all.
This commit is contained in:
parent
3be4dc56b3
commit
255243c16a
2 changed files with 2 additions and 0 deletions
|
@ -303,6 +303,7 @@ impl PartialEq for AudioInfo {
|
||||||
impl Eq for AudioInfo {}
|
impl Eq for AudioInfo {}
|
||||||
|
|
||||||
unsafe impl Send for AudioInfo {}
|
unsafe impl Send for AudioInfo {}
|
||||||
|
unsafe impl Sync for AudioInfo {}
|
||||||
|
|
||||||
impl glib::types::StaticType for AudioInfo {
|
impl glib::types::StaticType for AudioInfo {
|
||||||
fn static_type() -> glib::types::Type {
|
fn static_type() -> glib::types::Type {
|
||||||
|
|
|
@ -658,6 +658,7 @@ impl PartialEq for VideoInfo {
|
||||||
impl Eq for VideoInfo {}
|
impl Eq for VideoInfo {}
|
||||||
|
|
||||||
unsafe impl Send for VideoInfo {}
|
unsafe impl Send for VideoInfo {}
|
||||||
|
unsafe impl Sync 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 {
|
||||||
|
|
Loading…
Reference in a new issue