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:
Sam Van Den Berge 2022-10-18 15:17:40 +02:00 committed by GStreamer Marge Bot
parent 50c6c54675
commit 17c111d2b9

View file

@ -389,9 +389,6 @@ add_peer_to_pipeline (const gchar * peer_id, gboolean offer)
g_assert_true (ret); g_assert_true (ret);
ret = gst_element_sync_state_with_parent (webrtc); ret = gst_element_sync_state_with_parent (webrtc);
g_assert_true (ret); g_assert_true (ret);
gst_object_unref (q);
gst_object_unref (webrtc);
} }
static void static void