src pad was being created twice - oops.

Original commit message from CVS:
src pad was being created twice - oops.
This commit is contained in:
Jan Schmidt 2004-01-02 15:32:40 +00:00
parent 82ffb10352
commit 782af83621
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
* gst/cutter/gstcutter.c: (gst_cutter_init):
src pad was being created twice - oops.
2004-01-02 Ronald Bultje <rbultje@ronald.bitfreak.net>
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):

View file

@ -206,7 +206,7 @@ gst_cutter_init (GstCutter *filter)
gst_element_add_pad (GST_ELEMENT (filter), filter->sinkpad);
gst_pad_set_chain_function (filter->sinkpad, gst_cutter_chain);
gst_pad_set_link_function (filter->sinkpad, gst_cutter_link);
filter->srcpad = gst_pad_new ("src", GST_PAD_SRC);
gst_element_add_pad (GST_ELEMENT (filter), filter->srcpad);
/*gst_pad_set_link_function (filter->srcpad, gst_cutter_link);*/
}