inputselector: set output caps before pushing
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Nov 2009 17:08:05 +0000 (18:08 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 31 Dec 2010 00:53:50 +0000 (00:53 +0000)
commit199c1bdbcba41d19e8e72b39f618aff2a7ebd9f5
tree3db73ab9819dd3f77432a9377a5a235a33871cbe
parent7c7acac0dbf8872adfae1773bcb57021bb0a0e43
inputselector: set output caps before pushing

Set the output caps on the srcpad before pushing the buffer because else core
will do a rather expensive check to see if we can actually accept those caps on
the srcpad.

Merged from gst-plugins-base, bdfb4b46d746ef298fcf44260879c342af4cafa3.
plugins/elements/gstinputselector.c