uriplaylistbin: remove useless uridecodebin clone

This commit is contained in:
Guillaume Desmottes 2022-04-08 15:14:51 +02:00
parent 821ec857e1
commit ffdcc8167c

View file

@ -1071,7 +1071,6 @@ impl UriPlaylistBin {
element.add(&uridecodebin).unwrap();
let element_weak = element.downgrade();
let uridecodebin_clone = uridecodebin.clone();
let item_clone = item.clone();
assert!(state.waiting_for_stream_collection.is_none());
@ -1128,7 +1127,7 @@ impl UriPlaylistBin {
drop(state_guard);
uridecodebin_clone
uridecodebin
.sync_state_with_parent()
.map_err(|e| PlaylistError::ItemFailed {
error: e.into(),