mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
unref sinkpad also in mp version
This commit is contained in:
parent
21e5f4fbda
commit
62469f1155
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue