diff options
Diffstat (limited to 'generic/threadshare/tests/queue.rs')
-rw-r--r-- | generic/threadshare/tests/queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/tests/queue.rs b/generic/threadshare/tests/queue.rs index 49c7c3bd6..003412ed0 100644 --- a/generic/threadshare/tests/queue.rs +++ b/generic/threadshare/tests/queue.rs @@ -68,7 +68,7 @@ fn test_push() { let mut eos = false; let bus = pipeline.bus().unwrap(); - while let Some(msg) = bus.timed_pop(5 * gst::ClockTime::SECOND) { + while let Some(msg) = bus.timed_pop(5.seconds()) { use gst::MessageView; match msg.view() { MessageView::Eos(..) => { |