From 498d3181d7d9d91e1ef849bcbb529c0d7f5a3a04 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 12 Sep 2002 20:41:26 +0000 Subject: [PATCH] Updates Original commit message from CVS: Updates --- docs/random/wtay/scheduling_ideas | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/random/wtay/scheduling_ideas b/docs/random/wtay/scheduling_ideas index aac8e58..244f2f4 100644 --- a/docs/random/wtay/scheduling_ideas +++ b/docs/random/wtay/scheduling_ideas @@ -411,8 +411,22 @@ NOTES: - what about starvation? We'll probably have to put the group at the end of the runqueue. +- multi-out elements can introduce significant latency. consider: + (-group1----------) (-group2-----------------) + ! ! ! ! + ! *filesrc -> mad --> *%identity -> osssink ! + (-----------------) (------------------------) + + mad produces N output buffers, they are queued in the bufpen, when + group1 is done, group2 is scheduled to empty the bufpen queue. + + The time it takes for the first buffer to arrive at osssink equals + the time needed to decode the N-1 other buffers. + Of course, given the right buffersize for filesrc N can be reduced + to 1. mad can also suggest a buffersize to filesrc with the + BUFFER_SIZE event. -- 2.7.4