GNOME Bugzilla – Bug 692786
CAPS event is forwarded before STREAM_START in rtpptdemux element
Last modified: 2013-02-07 13:41:15 UTC
Created attachment 234715 [details] [review]
In the chain function of the element, when a new PT is detected and a new src pad is created, first the CAPS event is pushed on the src pad and then the sticky_events using forward_sticky_events(). This leads to push CAPS event before STREAM_START event which should be sent before any other serialized event therefore CAPS event.
See the patch in attachment if it provided a correct solution.
Author: Paul HENRYS <firstname.lastname@example.org>
Date: Tue Jan 29 10:48:17 2013 +0100
rtpptdemux: forward sticky events and then set caps
When a new src pad is added, first forward the sticky events and then
set the caps on the src pad