uriplaylistbin: remove useless uridecodebin clone

This commit is contained in:
Guillaume Desmottes 2022-04-08 15:14:51 +02:00
parent c86d5c78f4
commit 8edf13ad3e

View file

@ -1072,7 +1072,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());
@ -1129,7 +1128,7 @@ impl UriPlaylistBin {
drop(state_guard);
uridecodebin_clone
uridecodebin
.sync_state_with_parent()
.map_err(|e| PlaylistError::ItemFailed {
error: e.into(),