mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
examples: webrtc: mp-sendrecv: remove wrong gst_object_unrefs
In !2958 some gst_object_unrefs were added. However these two don't belong there because ownership is transfered due to the gst_bin_add_many call a bit above. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3219>
This commit is contained in:
parent
50c6c54675
commit
17c111d2b9
1 changed files with 0 additions and 3 deletions
|
@ -389,9 +389,6 @@ add_peer_to_pipeline (const gchar * peer_id, gboolean offer)
|
|||
g_assert_true (ret);
|
||||
ret = gst_element_sync_state_with_parent (webrtc);
|
||||
g_assert_true (ret);
|
||||
|
||||
gst_object_unref (q);
|
||||
gst_object_unref (webrtc);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue