Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-12-16 19:26:12 +0300
committerSebastian Dröge <sebastian@centricular.com>2017-12-16 19:26:12 +0300
commit8ef6a1830c7bdf2ce654290b61c4c2b30a441905 (patch)
treec3b95a59991de17b40cb61bd29f8327f6704491b
parent2ec85ac0b06c6c6c7a46989d027b8c6192aded67 (diff)
Fix build of togglerecord unit test
-rw-r--r--gst-plugin-togglerecord/tests/tests.rs2
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();
}
_ => (),
}