diff options
author | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2022-04-08 16:14:51 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2022-04-08 17:53:12 +0300 |
commit | 8edf13ad3e1c1028a2c1df8010c4bf0c84ac9d37 (patch) | |
tree | e279880bfba17e3478d9edcb2507dae3c559e0d1 /utils | |
parent | c86d5c78f4756ac712e0d8efded117b80425131b (diff) |
uriplaylistbin: remove useless uridecodebin clone
Diffstat (limited to 'utils')
-rw-r--r-- | utils/uriplaylistbin/src/uriplaylistbin/imp.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/uriplaylistbin/src/uriplaylistbin/imp.rs b/utils/uriplaylistbin/src/uriplaylistbin/imp.rs index c8c55ce3..92f0e85d 100644 --- a/utils/uriplaylistbin/src/uriplaylistbin/imp.rs +++ b/utils/uriplaylistbin/src/uriplaylistbin/imp.rs @@ -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(), |