Commit 072ac37b authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

smpte: only start collectpads2 at state change rather than init

parent 440d7034
......@@ -363,7 +363,6 @@ gst_smpte_init (GstSMPTE * smpte)
smpte->collect = gst_collect_pads2_new ();
gst_collect_pads2_set_function (smpte->collect,
(GstCollectPads2Function) GST_DEBUG_FUNCPTR (gst_smpte_collected), smpte);
gst_collect_pads2_start (smpte->collect);
gst_collect_pads2_add_pad (smpte->collect, smpte->sinkpad1,
sizeof (GstCollectData2));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment