impl Clone for BufferPoolConfig and PlayerConfig

This commit is contained in:
Sebastian Dröge 2020-01-30 23:10:26 +02:00
parent 5102bfd324
commit 8b3049d098
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ use gst_sys;
use std::mem; use std::mem;
use std::ops; use std::ops;
#[derive(Debug, PartialEq, Eq)] #[derive(Debug, Clone, PartialEq, Eq)]
pub struct PlayerConfig(gst::Structure); pub struct PlayerConfig(gst::Structure);
impl ops::Deref for PlayerConfig { impl ops::Deref for PlayerConfig {

View file

@ -21,7 +21,7 @@ use std::mem;
use std::ops; use std::ops;
use std::ptr; use std::ptr;
#[derive(Debug, PartialEq, Eq)] #[derive(Debug, Clone, PartialEq, Eq)]
pub struct BufferPoolConfig(Structure); pub struct BufferPoolConfig(Structure);
impl ops::Deref for BufferPoolConfig { impl ops::Deref for BufferPoolConfig {