mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
uriplaylistbin: remove useless uridecodebin clone
This commit is contained in:
parent
821ec857e1
commit
ffdcc8167c
1 changed files with 1 additions and 2 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue