GNOME Bugzilla – Bug 652404
multifdsink: buffers-queued calculation is wrong in pipeline with both audio and video
Last modified: 2011-06-30 16:46:06 UTC
In a pipeline with both audio and video such as video ! queue mux. ! audio ! queue ! mux. muxer name=mux ! multifdsink the calculation the buffers-queued property quickly change from 1 to say 65, 97 and so on while the difference between bytes-to-serve and bytes-served remain constant so the client is actually consuming the whole stream. In a video only pipeline the property works correctly
This sounds completely normal. buffers-queued has no relation to bytes-to-serve or bytes-served. What exactly is the problem?
David, maybe I'm misunderstanding the buffers-queued usage. I think if buffers-queued return 20 mean that one of the client connected to multifdsink has 20 buffers not yet consumed/received. This seems to be true for a video only pipeline, if i add the audio i see buffers-queued return for example 97 but the client is receiving audio/video in real time so it is consuming all the buffers and buffers-queued should be 1, I hope my explanation is clear enough, sorry for my english
(In reply to comment #2) > David, maybe I'm misunderstanding the buffers-queued usage. I think if > buffers-queued return 20 mean that one of the client connected to multifdsink > has 20 buffers not yet consumed/received. No, this is not correct. buffers-queued is the number of buffers queued in the multifdsink based on the various timing configuration. It has nothing to do with clients, other than that a late client may cause this to be momentarily higher than without.