pad: Added gst_pad_get_single_internal_link
authorVivia Nikolaidou <vivia@ahiru.eu>
Wed, 4 Sep 2019 13:59:58 +0000 (16:59 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Thu, 5 Sep 2019 08:49:18 +0000 (11:49 +0300)
commit7774aae71318a637e917c8e4dbfb2b0f35d8b34d
treeb5d954da8eeabbd261223086f553ed24014f0fb5
parentf8d70b475cf449405aa324dcf8e6830fd12c89e6
pad: Added gst_pad_get_single_internal_link

gst_pad_iterate_internal_links is usually used to find a single internal
link that a pad has, e.g. to find the corresponding pad of a multiqueue.
Added a helper function that will return either a single internal link,
if there's no other, or NULL.
gst/gstpad.c
gst/gstpad.h