unref sinkpad also in mp version
This commit is contained in:
parent
21e5f4fbda
commit
62469f1155
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user