mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +00:00
Fix examples build again
This commit is contained in:
parent
8013169e09
commit
58998af124
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ fn create_ui(app: >k::Application) {
|
|||
let position = pipeline.query_position(gst::Format::Time);
|
||||
|
||||
if let Some(position) = position {
|
||||
let mut seconds = position / gst::SECOND;
|
||||
let mut seconds = (position as gst::ClockTime) / gst::SECOND;
|
||||
let mut minutes = seconds / 60;
|
||||
let hours = minutes / 60;
|
||||
|
||||
|
|
Loading…
Reference in a new issue