[Bug 759470] input-selector: add mode that waits for keyframe before switching inputs

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 16 06:49:47 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759470

--- Comment #9 from Tapas Kumar Kundu <tapascst at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #8)
> I think the check/switching should happen around
> http://cgit.freedesktop.org/gstreamer/gstreamer/tree/plugins/elements/
> gstinputselector.c#n988

Thanks.  here is the code which i am going to put soon just below line #988:

active_sinkpad = gst_input_selector_get_active_sinkpad (sel); // line 988
if (active_sinkpad == pad) { //line 989
 // this pad is active sink pad so check for DELTA UNIT and discard.
 // buf is passed as pointer of GstBuf in arguments to this chain func.
 // so check for DELTA UNIT flag in buf.
 if (// buf has DELTA UNIT) 
   goto ignore; 
}



Can I re-use ignore code block in that chain function to ignore this buffer 
???
Please take a look into my above code and suggest me if my concept is wrong.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list