summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2004-01-02 15:32:40 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2004-01-02 15:32:40 +0000
commit782af836218ea29d62ceb532aea7af82e46cb34d (patch)
tree06bc6d26a8e64f0a0e7d6946345f6dce5f1c06c0
parent82ffb103529e3186d59af25f68a3b6e6293bb45f (diff)
src pad was being created twice - oops.
Original commit message from CVS: src pad was being created twice - oops.
-rw-r--r--ChangeLog5
-rw-r--r--gst/cutter/gstcutter.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 996e00f3..fed46066 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c
index 71004d78..eb2a6753 100644
--- a/gst/cutter/gstcutter.c
+++ b/gst/cutter/gstcutter.c
@@ -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);*/
}