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