diff options
author | David Schleef <ds@schleef.org> | 2008-01-01 01:18:19 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2008-01-01 01:18:19 +0000 |
commit | 71814047036e4347ada045953b58030da5829262 (patch) | |
tree | e3f942497a9e3099a439a6bb841cad152a4afa82 /gst/rawparse | |
parent | fdd091e26a7aa2f73ed8c5f2b7c1554f8636ce7d (diff) | |
download | gst-plugins-bad-71814047036e4347ada045953b58030da5829262.tar.gz gst-plugins-bad-71814047036e4347ada045953b58030da5829262.tar.bz2 gst-plugins-bad-71814047036e4347ada045953b58030da5829262.zip |
ext/musicbrainz/gsttrm.c: Don't emit signiture when going to READY, because it might not be ready.
Original commit message from CVS:
* ext/musicbrainz/gsttrm.c:
Don't emit signiture when going to READY, because it might
not be ready.
* ext/nas/nassink.c:
Remove useless call that sleeps for 5 seconds. Yup, it calls
sleep(1) 5 times. Go NAS.
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfbdecoder.c:
Initialize our debug categories properly.
* gst/rawparse/gstrawparse.c:
Don't register element details for a non-element. Be much more
rude when subclass doesn't set a pad template (assert!). Don't
unref the pad template; we don't own it.
* gst/videosignal/gstvideoanalyse.c:
Initialize debug category.
* tests/check/Makefile.am:
Ignore nassink element in tests because it has unavoidable
long timeouts.
Diffstat (limited to 'gst/rawparse')
-rw-r--r-- | gst/rawparse/gstrawparse.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/gst/rawparse/gstrawparse.c b/gst/rawparse/gstrawparse.c index 2f1ffba1..fa584d1a 100644 --- a/gst/rawparse/gstrawparse.c +++ b/gst/rawparse/gstrawparse.c @@ -53,12 +53,6 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_DEBUG_CATEGORY_STATIC (gst_raw_parse_debug); #define GST_CAT_DEFAULT gst_raw_parse_debug -static const GstElementDetails raw_parse_details = -GST_ELEMENT_DETAILS ("Raw parser base class", - "Filter/Raw", - "Parses byte streams into raw frames", - "Sebastian Dröge <slomo@circular-chaos.org>"); - GST_BOILERPLATE (GstRawParse, gst_raw_parse, GstElement, GST_TYPE_ELEMENT); static void @@ -71,7 +65,6 @@ gst_raw_parse_base_init (gpointer g_class) gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_raw_parse_sink_pad_template)); - gst_element_class_set_details (gstelement_class, &raw_parse_details); } static void @@ -101,17 +94,11 @@ gst_raw_parse_init (GstRawParse * rp, GstRawParseClass * g_class) if (src_pad_template) { rp->srcpad = gst_pad_new_from_template (src_pad_template, "src"); } else { - GstCaps *caps; - - GST_WARNING ("Subclass didn't specify a src pad template, using ANY caps"); - rp->srcpad = gst_pad_new ("src", GST_PAD_SRC); - caps = gst_caps_new_any (); - gst_pad_set_caps (rp->srcpad, caps); - gst_caps_unref (caps); + g_warning ("Subclass didn't specify a src pad template"); + g_assert_not_reached (); } gst_element_add_pad (GST_ELEMENT (rp), rp->srcpad); - g_object_unref (src_pad_template); gst_pad_set_event_function (rp->srcpad, gst_raw_parse_src_event); |