smpte: only start collectpads2 at state change rather than init
This commit is contained in:
parent
440d7034f0
commit
072ac37bb2
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user