summaryrefslogtreecommitdiffstats
path: root/gst/auparse
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-10-06 17:00:14 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-10-06 17:00:14 +0000
commit3adedd4f6061ae5029b880a384346d1cbc856a47 (patch)
treefb1d61311497384cb6085827d79e2c01e5f184d3 /gst/auparse
parent09328ad0104734def11242b6c9d750845e92c5de (diff)
Activate pads before adding.
Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_add_pads), (gst_dvdemux_chain): * gst/auparse/gstauparse.c: (gst_au_parse_add_srcpad): Activate pads before adding.
Diffstat (limited to 'gst/auparse')
-rw-r--r--gst/auparse/gstauparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c
index 406e5454..4664984c 100644
--- a/gst/auparse/gstauparse.c
+++ b/gst/auparse/gstauparse.c
@@ -197,6 +197,7 @@ gst_au_parse_add_srcpad (GstAuParse * auparse, GstCaps * new_caps)
GST_DEBUG_FUNCPTR (gst_au_parse_src_event));
gst_pad_use_fixed_caps (auparse->srcpad);
+ gst_pad_set_active (auparse->srcpad, TRUE);
if (auparse->src_caps)
gst_pad_set_caps (auparse->srcpad, auparse->src_caps);