basesrc: avoid calling _set_caps() on the srcpad
authorWim Taymans <wim.taymans@collabora.co.uk>
Sat, 21 May 2011 17:06:08 +0000 (19:06 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Sat, 21 May 2011 17:06:08 +0000 (19:06 +0200)
commit4e13568d27dabf71cb591fa68f80bfc5bbf2cffc
tree96c99f1e3ab682fe71e68753dcbef0eef13970a2
parenta0fded5c375344b8a1e1d445aa24c5f9607a2cd8
basesrc: avoid calling _set_caps() on the srcpad

Avoid installing a setcaps function on the srcpad and calling the setcaps
function, we can do more efficiently with sending the event ourself and calling
our vmethod.
libs/gst/base/gstbasesrc.c