[Bug 643202] [encodebin] Sends EOS for all streams if only one finishes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 18 06:08:37 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=643202
  GStreamer | gst-plugins-base | git

--- Comment #5 from Sebastian Dröge <slomo at circular-chaos.org> 2011-04-18 13:08:34 UTC ---
This happens because encodebin internally has a streamsplitter that outputs on
different srcpads depending on the caps and a streamcombiner that combines
these different streams again. In my testcase there's a passthrough sinkpad in
the combiner and another one.

When EOS is received from upstream in the splitter it is forwarded to all
srcpads of streamsplitter. The passthrough part has no queues or anything, as
such the EOS event is immediately forwarded to the streamcombiner and from
there on downstream. The other EOS event is synchronized correctly and gets
send to the encoder after all buffers have passed... but at that time
downstream after the streamcombiner already saw EOS and returns UNEXPECTED for
the encoded buffers.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list