mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +00:00
Implement StaticType on the actual MiniObjects, not the GstRc wrapper
This commit is contained in:
parent
6c4ee55f27
commit
14adb331ec
5 changed files with 6 additions and 6 deletions
|
@ -243,7 +243,7 @@ impl CapsRef {
|
|||
}
|
||||
}
|
||||
|
||||
impl glib::types::StaticType for GstRc<CapsRef> {
|
||||
impl glib::types::StaticType for CapsRef {
|
||||
fn static_type() -> glib::types::Type {
|
||||
unsafe { from_glib(ffi::gst_caps_get_type()) }
|
||||
}
|
||||
|
|
|
@ -279,7 +279,7 @@ impl Event {
|
|||
}
|
||||
}
|
||||
|
||||
impl glib::types::StaticType for GstRc<EventRef> {
|
||||
impl glib::types::StaticType for EventRef {
|
||||
fn static_type() -> glib::types::Type {
|
||||
unsafe { from_glib(ffi::gst_event_get_type()) }
|
||||
}
|
||||
|
|
|
@ -305,7 +305,7 @@ impl Message {
|
|||
}
|
||||
}
|
||||
|
||||
impl glib::types::StaticType for GstRc<MessageRef> {
|
||||
impl glib::types::StaticType for MessageRef {
|
||||
fn static_type() -> glib::types::Type {
|
||||
unsafe { from_glib(ffi::gst_message_get_type()) }
|
||||
}
|
||||
|
|
|
@ -176,7 +176,7 @@ impl QueryRef {
|
|||
}
|
||||
}
|
||||
|
||||
impl glib::types::StaticType for GstRc<QueryRef> {
|
||||
impl glib::types::StaticType for QueryRef {
|
||||
fn static_type() -> glib::types::Type {
|
||||
unsafe { from_glib(ffi::gst_query_get_type()) }
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ impl TocRef {
|
|||
}
|
||||
}
|
||||
|
||||
impl glib::types::StaticType for GstRc<TocRef> {
|
||||
impl glib::types::StaticType for TocRef {
|
||||
fn static_type() -> glib::types::Type {
|
||||
unsafe { from_glib(ffi::gst_toc_get_type()) }
|
||||
}
|
||||
|
@ -245,7 +245,7 @@ impl TocEntryRef {
|
|||
}
|
||||
}
|
||||
|
||||
impl glib::types::StaticType for GstRc<TocEntryRef> {
|
||||
impl glib::types::StaticType for TocEntryRef {
|
||||
fn static_type() -> glib::types::Type {
|
||||
unsafe { from_glib(ffi::gst_toc_entry_get_type()) }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue