mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Update gtk-rs crates
This commit is contained in:
parent
3a27113bda
commit
ff17549b8b
39 changed files with 324 additions and 313 deletions
|
|
@ -5,9 +5,9 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
base64 = "0.13.0"
|
||||
glib = "0.14.0"
|
||||
gstreamer = "0.17.0"
|
||||
gstreamer-pbutils = "0.17.0"
|
||||
glib = "0.15.10"
|
||||
gstreamer = "0.18.7"
|
||||
gstreamer-pbutils = "0.18.7"
|
||||
log = "0.4.14"
|
||||
once_cell = "1.5.2"
|
||||
rand = "0.7.3"
|
||||
|
|
|
|||
|
|
@ -118,13 +118,13 @@ pub(super) fn new() -> Result<ImportSession> {
|
|||
for track in &tracks_clone {
|
||||
info!("Starting to rip track {}.", track.number);
|
||||
|
||||
cdparanoiasrc.set_property("track", &track.number)?;
|
||||
cdparanoiasrc.set_property("track", &track.number);
|
||||
|
||||
// The filesink needs to be reset to be able to change the file location.
|
||||
filesink.set_state(gstreamer::State::Null)?;
|
||||
|
||||
let path = track.path.to_str().unwrap();
|
||||
filesink.set_property("location", &path)?;
|
||||
filesink.set_property("location", &path);
|
||||
|
||||
// This will also affect the filesink as expected.
|
||||
pipeline.set_state(gstreamer::State::Playing)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue