Implement StaticType for BufferRef, not Buffer

This commit is contained in:
Sebastian Dröge 2017-09-16 19:27:46 +03:00
parent ca8b2f5406
commit 918d66375e

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