diff options
author | François Laignel <fengalin@free.fr> | 2021-05-26 12:54:34 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-06-05 11:36:21 +0300 |
commit | 8f81cb881262aba9ba4aa2c1d7579e2467b3a596 (patch) | |
tree | 7310df86f506f57cd37dda9962c81d708b6178b0 /generic/threadshare/tests/proxy.rs | |
parent | 17feaa8c71a1915e57d05311fe8c1deedb5b97a1 (diff) |
generic: migrate to new ClockTime design
Diffstat (limited to 'generic/threadshare/tests/proxy.rs')
-rw-r--r-- | generic/threadshare/tests/proxy.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/threadshare/tests/proxy.rs b/generic/threadshare/tests/proxy.rs index 5c2b28df8..87c1e1b17 100644 --- a/generic/threadshare/tests/proxy.rs +++ b/generic/threadshare/tests/proxy.rs @@ -76,7 +76,7 @@ fn test_push() { let mut eos = false; let bus = pipeline.bus().unwrap(); - while let Some(msg) = bus.timed_pop(5 * gst::SECOND) { + while let Some(msg) = bus.timed_pop(5 * gst::ClockTime::SECOND) { use gst::MessageView; match msg.view() { MessageView::Eos(..) => { @@ -123,8 +123,8 @@ fn test_from_pipeline_to_pipeline() { pipe_1.set_state(gst::State::Paused).unwrap(); pipe_2.set_state(gst::State::Paused).unwrap(); - let _ = pipe_1.state(gst::CLOCK_TIME_NONE); - let _ = pipe_2.state(gst::CLOCK_TIME_NONE); + let _ = pipe_1.state(gst::ClockTime::NONE); + let _ = pipe_2.state(gst::ClockTime::NONE); pipe_1.set_state(gst::State::Null).unwrap(); |