diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-05-14 20:57:31 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-05-14 20:57:31 +0000 |
commit | affa2929519cee158d1c59853d6f286e54419f37 (patch) | |
tree | 191aaa8537738773e4bc518f893cca688b892906 /gst/mpeg4videoparse/mpeg4videoparse.c | |
parent | bfd70466939298a2d3b9ed8f6f3283b3ce7dc8e2 (diff) | |
download | gst-plugins-bad-affa2929519cee158d1c59853d6f286e54419f37.tar.gz gst-plugins-bad-affa2929519cee158d1c59853d6f286e54419f37.tar.bz2 gst-plugins-bad-affa2929519cee158d1c59853d6f286e54419f37.zip |
gst/mpeg4videoparse/mpeg4videoparse.c: Set fixed caps on the srcpad after we created the pad...
Original commit message from CVS:
* gst/mpeg4videoparse/mpeg4videoparse.c: (gst_mpeg4vparse_init):
Set fixed caps on the srcpad after we created the pad...
Diffstat (limited to 'gst/mpeg4videoparse/mpeg4videoparse.c')
-rw-r--r-- | gst/mpeg4videoparse/mpeg4videoparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpeg4videoparse/mpeg4videoparse.c b/gst/mpeg4videoparse/mpeg4videoparse.c index e845ec88..fc43f014 100644 --- a/gst/mpeg4videoparse/mpeg4videoparse.c +++ b/gst/mpeg4videoparse/mpeg4videoparse.c @@ -798,12 +798,12 @@ gst_mpeg4vparse_init (GstMpeg4VParse * parse, GstMpeg4VParseClass * g_class) GST_DEBUG_FUNCPTR (gst_mpeg4vparse_sink_event)); gst_pad_set_setcaps_function (parse->sinkpad, GST_DEBUG_FUNCPTR (gst_mpeg4vparse_sink_setcaps)); - gst_pad_use_fixed_caps (parse->srcpad); gst_element_add_pad (GST_ELEMENT (parse), parse->sinkpad); parse->srcpad = gst_pad_new_from_static_template (&src_template, "src"); gst_pad_set_query_function (parse->srcpad, GST_DEBUG_FUNCPTR (gst_mpeg4vparse_src_query)); + gst_pad_use_fixed_caps (parse->srcpad); gst_element_add_pad (GST_ELEMENT (parse), parse->srcpad); parse->adapter = gst_adapter_new (); |