[PATCH 08/16] winegstreamer: Implement media source on gstreamer.
dlesho at codeweavers.com
Fri Mar 27 09:02:06 CDT 2020
On 3/27/20 6:28 AM, Nikolay Sivov wrote:
> On 3/26/20 3:12 AM, Derek Lesho wrote:
>> + TRACE("Fufilled %u sample requests. %u pending samples. %s more
>> + fufilled_counter, This->pending_samples,
>> list_empty(&This->sample_requests) ? "no" : "");
> I was testing these winegstreamer patches today, in context of media
> session, and noticed that right after Start() call and before I had a
> chance to make any
> sample requests, I get trace above showing hundreds of pending samples
> already. Does it mean source buffers whole media unconditionally, or
> is there a limit to it?
> Even if requests will normally come soon after start, it will at least
> take time to deliver source/stream state events, which takes arbitrary
> or may never happen. If it's really a case of excessive buffering
> we'll have to limit it somehow.
Yeah, by default appsink infinitely buffers, we can change this by
setting the max-buffers property of the element.
More information about the wine-devel