audiodecoder: add method to set output caps
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 28 Sep 2011 13:35:56 +0000 (15:35 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 28 Sep 2011 13:35:56 +0000 (15:35 +0200)
commit19626cf27ae853ee7c0b44cfd572c8c34103a14a
treea556bf1245134b19035117be36a9a06a82f81ba2
parent19346c2c3b9da3dd329b703b2371f0e7de7d01da
audiodecoder: add method to set output caps

Add a method to configure the output caps. Subclasses can't use
gst_pad_set_caps() anymore because then we won't see the caps.
Unbreak the padtemplate registration, the GTypeClass that is configured in the
object during _init is not the right one, we need to use the klass passed as the
argument to the init function..
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.h