[FFmpeg-devel] [PATCH 4/8] avfiltergraph: add avfilter_graph_request_oldest().

Michael Niedermayer michaelni at gmx.at
Sat Apr 21 01:23:36 CEST 2012

On Fri, Apr 20, 2012 at 12:31:43PM +0200, Nicolas George wrote:
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavfilter/avfiltergraph.c |   19 +++++++++++++++++++
>  libavfilter/avfiltergraph.h |   10 ++++++++++
>  2 files changed, 29 insertions(+), 0 deletions(-)
> This is used to trigger movement inside the graph.
> If the graph is connected, a request on any link will cause frames to
> circulate more or less everywhere, and thus, the actual choice of which link
> to request on is not important.

> If the graph is not connected, we could request a frame on any component, it
> would not have any advert effect on the filtering process. Then we have to
> take a guess at what the user wants to do with the frames when they come
> out. A common case is to mux them together, and therefore require, more or
> less, the frames to be ordered by timestamp. Thus, requesting on the oldest
> link is a good guess.

iam not sure about this
what happens if one seperate sub graph is fed by a real time broadcast
and the other is fed by a file on disk. ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120421/f9689e0c/attachment.asc>

More information about the ffmpeg-devel mailing list