Commit d1cfc8b6 authored by Jordan Petridis's avatar Jordan Petridis 🌱

Update gst crates and add pulseaudio to the flatpak manifest.

parent 16a062c1
......@@ -20,6 +20,7 @@
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--socket=pulseaudio",
"--talk-name=org.freedesktop.secrets",
"--talk-name=org.freedesktop.Notifications",
"--filesystem=home"
......
......@@ -12,8 +12,8 @@ gdk-pixbuf = "0.4.0"
gdk-pixbuf-sys = "0.6.0"
gio = "0.4.1"
glib = "0.5.0"
gstreamer = "0.11.2"
gstreamer-player = "0.11.0"
gstreamer = "0.11.3"
gstreamer-player = "0.11.3"
notify-rust = "3.4.2"
pango = "0.4.0"
secret-service = "0.4.0"
......
......@@ -224,7 +224,7 @@ impl AudioPlayerWidget {
fn connect_update_slider(slider: &gtk::Scale, player: &gst_player::Player) -> SignalHandlerId {
slider.connect_value_changed(clone!(player => move |slider| {
let value = slider.get_value() as u64;
player.seek(ClockTime::from_seconds(value as u64));
player.seek(ClockTime::from_seconds(value));
}))
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment