mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
d0eface01c
Just setting the ghostpad as flushing wasn't enough. It needs to be consistent on the internal proxypad also, otherwise you end up in situations where: * a pending buffer on the target pad triggers the sticky event propagation * the default implementation sees that the proxypad is not flushing, so it tries to push it to the other pad (the actual ghostpad) * the ghostpad is flushing, so returns FALSE * the push_event function sees that pushing the event failed... * ... and pending buffer push returns GST_FLOW_ERROR, instead of GST_FLOW_FLUSHING By using gst_pad_set_active(FALSE), we ensure that both the ghostpad and the proxypad are flushing/deactivated. The situation above will no longer occur, and a GST_FLOW_FLUSHING will be returned. |
||
---|---|---|
.. | ||
adder | ||
app | ||
audioconvert | ||
audiorate | ||
audioresample | ||
audiotestsrc | ||
encoding | ||
gio | ||
playback | ||
subparse | ||
tcp | ||
typefind | ||
videoconvert | ||
videorate | ||
videoscale | ||
videotestsrc | ||
volume | ||
Makefile.am |