identity: eos-after does not always terminate the pipeline when expected
Hi,
while playing with identity eos-after=
I noticed that even though the EOS message seems to be emitted after the intended number of chain events, it does not always terminate the pipeline as one would expect, resulting in more buffers to be pushed downstream.
See for example:
GST_DEBUG=identity:6 gst-launch-1.0 -v -e videotestsrc ! \
x264enc ! decodebin ! identity sync=true eos-after=11 silent=false ! \
videoconvert ! pngenc ! multifilesink location='frame%05d.png
I would expect only 10 frames to be saved, but I see more than that.
This seems something similar to what @ndufresne mentioned in !53 (comment 92695)
Thanks, Antonio