[Bug 773341] urisourcebin: Cleanup unused output slot

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 24 01:37:43 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773341

--- Comment #16 from Seungha Yang <sh.yang at lge.com> ---
Although, urisourcebin can cleanup output slot, with my patches, 
there are similar issues (but much more complicated) on decodebin3 and playbin3
(also maybe playsink?).

<summary>
[Issue 1] DecodebinInput cleanup issue
[Issue 2] DecodebinOutputStream cleanup issue
[Issue 3] MultiQueueSlot cleanup issue
[Issue 4] Playsink reconfigure issue

<details>
[Issue 1] DecodebinInput cleanup issue

When sinkpad of a decodebin3 was unlinked with calling
gst_decodebin3_input_pad_unlink (), 
- decodebin3 just set the state of parsebin to NULL state.
- No action for cleaning up other member (e.g., ghost sinkpad, collection, etc)
of the decodebin3. (refer to attached dot graph)


[Issue 2] DecodebinOutputStream cleanup issue

In the multiqueue_src_probe (), there is a code for freeing output stream with
detected EOS event. 
The issue is that, decodebin3 intercepts EOS event from parsbin's srcpad.
(forward EOS event only if all streams are EOSed). So, freeing output stream
cannot be triggerd.

About this issue, synchronizing EOS of streams might be role of
streamsynchronizer.

[Issue 3] MultiQueueSlot cleanup issue

freeing multiqueue slot by calling free_multiqueue_slot() does not considered
in running time. It's only called during state change.

[Issue 4] Playsink reconfigure issue

Although any streams might be removed, playbin3 should trigger
gst_play_sink_reconfigure () for actual cleanup of playsin. One of the reason
seems to "decodebin3 does not signalling no-more-pads". Note that playbin2 can
do this since it post the no-more-pads signal. 
How can we trigger reconfigure in case of playbin3? might be with
stream-collection update?

-- 
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