mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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 */
|
||||
gst_pad_link (pad, audiopad);
|
||||
|
||||
g_object_unref (audiopad);
|
||||
}
|
||||
|
||||
gint
|
||||
|
|
Loading…
Reference in a new issue