summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9960655)
raw | patch | inline | side by side (parent: 9960655)
author | David Schleef <ds@schleef.org> | |
Sat, 3 Jan 2004 01:27:31 +0000 (01:27 +0000) | ||
committer | David Schleef <ds@schleef.org> | |
Sat, 3 Jan 2004 01:27:31 +0000 (01:27 +0000) |
Original commit message from CVS:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_pad_factory),
(gst_alsa_src_base_init): Remove bogus "src" request pad.
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_base_init),
(gst_mpeg_parse_class_init): Move pad template registration
to class_init, since the derived class (mpegdemux) doesn't
want them.
* ext/alsa/gstalsasrc.c: (gst_alsa_src_pad_factory),
(gst_alsa_src_base_init): Remove bogus "src" request pad.
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_base_init),
(gst_mpeg_parse_class_init): Move pad template registration
to class_init, since the derived class (mpegdemux) doesn't
want them.
ChangeLog | patch | blob | history | |
gst/mpegstream/gstmpegparse.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 7d3fb0a510b7f733949758889a06d1d7a03dd40a..c988f937a12b7b5d32d91368eb74e8c7f1cff208 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2004-01-02 David Schleef <ds@schleef.org>
+
+ * ext/alsa/gstalsasrc.c: (gst_alsa_src_pad_factory),
+ (gst_alsa_src_base_init): Remove bogus "src" request pad.
+ * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_base_init),
+ (gst_mpeg_parse_class_init): Move pad template registration
+ to class_init, since the derived class (mpegdemux) doesn't
+ want them.
+
2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
* sys/ximage/Makefile.am:
index 6ea4bc2a976aec8ebac0f968dc1807cb921dc156..02d98df4d6260e8895858e00106bee5a99b41b3a 100644 (file)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&src_factory));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details (element_class, &mpeg_parse_details);
}
klass->parse_pes = NULL;
klass->send_data = gst_mpeg_parse_send_data;
klass->handle_discont = gst_mpeg_parse_handle_discont;
+
+ /* FIXME: this is a hack. We add the pad templates here instead
+ * in the base_init function, since the derived class (mpegdemux)
+ * uses different pads. IMO, this is wrong. */
+ gst_element_class_add_pad_template (gstelement_class,
+ gst_static_pad_template_get (&src_factory));
+ gst_element_class_add_pad_template (gstelement_class,
+ gst_static_pad_template_get (&sink_factory));
}
static void