unref sinkpad also in mp version

This commit is contained in:
Bernhard Jung 2019-07-01 12:19:39 +02:00 committed by Sebastian Dröge
parent 21e5f4fbda
commit 62469f1155

View file

@ -184,6 +184,7 @@ on_incoming_stream (GstElement * webrtc, GstPad * pad, GstElement * pipe)
sinkpad = gst_element_get_static_pad (decodebin, "sink");
gst_pad_link (pad, sinkpad);
gst_object_unref (sinkpad);
}
static void