mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
Implement StaticType for BufferRef, not Buffer
This commit is contained in:
parent
ca8b2f5406
commit
918d66375e
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ impl BufferRef {
|
|||
unsafe impl Sync for BufferRef {}
|
||||
unsafe impl Send for BufferRef {}
|
||||
|
||||
impl glib::types::StaticType for Buffer {
|
||||
impl glib::types::StaticType for BufferRef {
|
||||
fn static_type() -> glib::types::Type {
|
||||
unsafe { from_glib(ffi::gst_buffer_get_type()) }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue