[Bug 776491] multiqueue: Update buffering level based on the lowest value
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Feb 1 09:05:43 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=776491
--- Comment #10 from Edward Hervey <bilboed at bilboed.com> ---
So the problem doesn't exist/matter for the regular buffering use-case (i.e.
by maximum).
There's a fundamental issue with trying to calculate buffering levels based
on lowest value. Because you can't really know whether a single queue is empty
because it drained further down or because there's nothing that arrived.
Can you explain the higher-level reason for wanting this information ?
Multiqueue shouldn't be used for "buffering" purposes.
(In reply to HoonHee Lee from comment #9)
> Hello Edward Hervey
>
> How about using gst_pad_get_peer () instead of gst_pad_is_linked()?
No, it's the same thing (is_linked() just checks if the peer is NULL). If
it's unlinked at the next element (say after the decoder) you won't know about
it (multiqueue source pad has a peer but there's nothing one element further
down).
--
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