On 3/26/20 3:12 AM, Derek Lesho wrote:
- TRACE("Fufilled %u sample requests. %u pending samples. %s more requests.\n",
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 time, or may never happen. If it's really a case of excessive buffering we'll have to limit it somehow.