mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +00:00
docs: don't forget to unref the pad
This commit is contained in:
parent
ed86995cd8
commit
2ffbb1a374
1 changed files with 2 additions and 0 deletions
|
@ -264,6 +264,8 @@ cb_newpad (GstElement *decodebin,
|
||||||
|
|
||||||
/* link'n'play */
|
/* link'n'play */
|
||||||
gst_pad_link (pad, audiopad);
|
gst_pad_link (pad, audiopad);
|
||||||
|
|
||||||
|
g_object_unref (audiopad);
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
gint
|
||||||
|
|
Loading…
Reference in a new issue