Custom event disappearing in decodebin

Jan Schmidt thaytan at noraisin.net
Tue Oct 2 05:56:40 PDT 2012


On Tue, 2012-10-02 at 08:04 +0200, Bruno Gonzalez wrote:
> Hi all,
> I'm using the python bindings to create a pipeline like this:
> rtspsrc  queue  rtph264depay  capsfilter  tee  decodebin  tee
>  videocrop  tee  videoscale  tee  capsfilter  x264enc  tee  custom_bin
> 
> I insert a gst.EVENT_CUSTOM_DOWNSTREAM in
> the tee between capsfilter and decodebin (using tee.send_event(my_event) ).
>
> I have added event_probes to all elements' "sink" and "src" pads, in
> order to track the life of the custom event.
> 
> In gstreamer 0.10.29, the event travels through all elements until it
> reaches my custom_bin element, where I process it.
> In gstreamer 0.10.36, the event arrives at the decodebin sink pad, but
> does not arrive at its src pad, or any other elements after it (so it
> never reaches my custom_bin).

In general, this is a bug in a specific element that decodebin is
plugging. In your case there's probably only 2 elements to check:
h264parse and ffdec_h264 ?

J.
> 
> 
> My code remains exactly the same, the only change is the gstreamer
> version that is installed.
> 
> 
> Other events, such
> as GST_EVENT_NEWSEGMENT or GST_EVENT_LATENCY traverse all elements
> with no problems in both 0.10.29 and 0.10.36.
> 
> 
> Any hints as to why the custom event would be stopping at
> the decodebin element in 0.10.36?
> 
> 
> Thanks in advance!
> 
> 
> -- 
> Saludos,
>      Bruno González
> 
> _______________________________________________
> Jabber: stenyak AT gmail.com
> http://www.stenyak.com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Jan Schmidt <thaytan at noraisin.net>



More information about the gstreamer-devel mailing list