diff options
Diffstat (limited to 'utils/togglerecord/tests/tests.rs')
-rw-r--r-- | utils/togglerecord/tests/tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/togglerecord/tests/tests.rs b/utils/togglerecord/tests/tests.rs index 18c3df7dd..a0a7e03fa 100644 --- a/utils/togglerecord/tests/tests.rs +++ b/utils/togglerecord/tests/tests.rs @@ -229,7 +229,7 @@ fn recv_buffers( use gst::EventView; match event.view() { - EventView::Gap(ref e) => { + EventView::Gap(e) => { let (ts, duration) = e.get(); res.push((segment.to_running_time(ts), Some(ts), duration)); @@ -242,7 +242,7 @@ fn recv_buffers( saw_eos = true; return (res, saw_eos); } - EventView::Segment(ref e) => { + EventView::Segment(e) => { *segment = e.segment().clone().downcast().unwrap(); } _ => (), |