pad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941
authorStefan Kost <ensonic@users.sf.net>
Wed, 7 Oct 2009 08:43:54 +0000 (11:43 +0300)
committerStefan Kost <ensonic@users.sf.net>
Wed, 7 Oct 2009 19:41:30 +0000 (22:41 +0300)
commitfcc5d783df0a8461250da1e0434132d580ec8adf
tree9560e16a7256d930db22cbbfd00007c4467a6c6f
parent558f4aca5987f9415bc0a0f8bc169f71f444117e
pad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941

In most places in core and baseclasses we just need the caps to do caps-
intersections. In that case ref'ed caps are enough (no need to copy).
This patch also switches the code to use the new functions.
API: gst_pad_get_caps_refed(), gst_pad_peer_get_caps_refed()
docs/gst/gstreamer-sections.txt
gst/gstghostpad.c
gst/gstpad.c
gst/gstpad.h
gst/gstutils.c
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasetransform.c
win32/common/libgstreamer.def