Implement StaticType for BufferRef, not Buffer

This commit is contained in:
Sebastian Dröge 2017-09-16 19:27:46 +03:00
parent 3cb5b591ca
commit cc9780520c

View file

@ -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()) }
}