diff --git a/gstreamer-player/src/config.rs b/gstreamer-player/src/config.rs index 261052e4f..445f1be66 100644 --- a/gstreamer-player/src/config.rs +++ b/gstreamer-player/src/config.rs @@ -14,7 +14,7 @@ use gst_sys; use std::mem; use std::ops; -#[derive(Debug, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct PlayerConfig(gst::Structure); impl ops::Deref for PlayerConfig { diff --git a/gstreamer/src/buffer_pool.rs b/gstreamer/src/buffer_pool.rs index 720e7995f..3054dca39 100644 --- a/gstreamer/src/buffer_pool.rs +++ b/gstreamer/src/buffer_pool.rs @@ -21,7 +21,7 @@ use std::mem; use std::ops; use std::ptr; -#[derive(Debug, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct BufferPoolConfig(Structure); impl ops::Deref for BufferPoolConfig {