mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
8dd42666e3
Elements emitting frames through several srcpads should use a flow combiner to aggregate the chain returns and therefore only return GST_FLOW_NOT_LINKED to upstream when all the downstream pads have received GST_FLOW_NOT_LINKED. In addition to that, in order to handle pads being relinked downstream, the flow combiner should be reset in response to RECONFIGURE events. This ensures that a both srcpads process a chain operation before a GST_FLOW_NOT_LINKED can be propagated upstream (which would usually stop the pipeline). Otherwise, in a configuration with two srcpads, only one linked at a time, after the relink the element could chain data through the now unlinked pad and the flow combiner would resolve as GST_FLOW_NOT_LINKED (stopping the pipeline) just because the now linked pad has not been chained yet to update the flow combiner. This patch adds handling of RECONFIGURE events to qtdemux. Also, since this event handling causes the flow combiner to be used from a thread other than the qtdemux streaming thread, usages of the flow combiner has been guarded by the object lock. |
||
---|---|---|
.. | ||
atoms.c | ||
atoms.h | ||
atomsrecovery.c | ||
atomsrecovery.h | ||
descriptors.c | ||
descriptors.h | ||
fourcc.h | ||
gstisoff.c | ||
gstisoff.h | ||
gstqtmoovrecover.c | ||
gstqtmoovrecover.h | ||
gstqtmux-doc.c | ||
gstqtmux-doc.h | ||
gstqtmux.c | ||
gstqtmux.h | ||
GstQTMux.prs | ||
gstqtmuxmap.c | ||
gstqtmuxmap.h | ||
gstrtpxqtdepay.c | ||
gstrtpxqtdepay.h | ||
isomp4-plugin.c | ||
LEGAL | ||
meson.build | ||
properties.c | ||
properties.h | ||
qtatomparser.h | ||
qtdemux.c | ||
qtdemux.h | ||
qtdemux_debug.h | ||
qtdemux_dump.c | ||
qtdemux_dump.h | ||
qtdemux_lang.c | ||
qtdemux_lang.h | ||
qtdemux_types.c | ||
qtdemux_types.h | ||
qtpalette.h |