gst/volume/gstvolume.c: Proxy getcaps.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_init): Proxy getcaps.
* sys/oss/gstosssink.c: (gst_osssink_init),
(gst_osssink_sink_fixate): Add fixate function.
This commit is contained in:
David Schleef 2003-12-24 03:31:06 +00:00
parent 0128ef1e5a
commit 651a9bf44e
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-12-23 David Schleef <ds@schleef.org>
* gst/volume/gstvolume.c: (volume_init): Proxy getcaps.
* sys/oss/gstosssink.c: (gst_osssink_init),
(gst_osssink_sink_fixate): Add fixate function.
2003-12-24 Ronald Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.c:

View file

@ -218,9 +218,11 @@ volume_init (GstVolume *filter)
{
filter->sinkpad = gst_pad_new_from_template(
gst_static_pad_template_get (&volume_sink_factory),"sink");
gst_pad_set_getcaps_function (filter->sinkpad, gst_pad_proxy_getcaps);
gst_pad_set_link_function(filter->sinkpad,volume_connect);
filter->srcpad = gst_pad_new_from_template(
gst_static_pad_template_get (&volume_src_factory),"src");
gst_pad_set_getcaps_function (filter->srcpad, gst_pad_proxy_getcaps);
gst_pad_set_link_function(filter->srcpad,volume_connect);
gst_element_add_pad(GST_ELEMENT(filter),filter->sinkpad);