diff --git a/gstreamer/src/miniobject.rs b/gstreamer/src/miniobject.rs index 04a2b1297..82f677e19 100644 --- a/gstreamer/src/miniobject.rs +++ b/gstreamer/src/miniobject.rs @@ -493,6 +493,7 @@ impl GlibPtrDefault for GstRc { macro_rules! gst_define_mini_object_wrapper( ($name:ident, $ref_name:ident, $ffi_name:path, [$($derives:ident,)*], $get_type:expr) => { #[derive($($derives,)*)] + #[derive(Clone)] pub struct $name($crate::GstRc<$ref_name>); #[repr(C)]