diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-12-16 19:26:12 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-12-16 19:26:12 +0300 |
commit | 8ef6a1830c7bdf2ce654290b61c4c2b30a441905 (patch) | |
tree | c3b95a59991de17b40cb61bd29f8327f6704491b | |
parent | 2ec85ac0b06c6c6c7a46989d027b8c6192aded67 (diff) |
Fix build of togglerecord unit test
-rw-r--r-- | gst-plugin-togglerecord/tests/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-plugin-togglerecord/tests/tests.rs b/gst-plugin-togglerecord/tests/tests.rs index b9a217545..b08d618b3 100644 --- a/gst-plugin-togglerecord/tests/tests.rs +++ b/gst-plugin-togglerecord/tests/tests.rs @@ -228,7 +228,7 @@ fn recv_buffers( return res; } EventView::Segment(ref e) => { - *segment = e.get_segment().downcast().unwrap(); + *segment = e.get_segment().clone().downcast().unwrap(); } _ => (), } |