[MPlayer-G2-dev] Re: Limitations in vo2 api :(
D Richard Felker III
dalias at aerifal.cx
Tue Dec 23 16:56:07 CET 2003
On Tue, Dec 23, 2003 at 01:14:06PM +0200, Andriy N. Gritsenko wrote:
> >The internal vp code has to be able to walk the pipeline for
> >rendering, so it needs to know something...
>
> It seems I don't understand something. We construct pipeline to get
> frames via pull_frame(), don't we? So if pipeline is something alike
> --> vp_node1 --> vp_node2 --> vp_node3 then vp_node3 will pull frame
> from vp_node2 but vp_node3 has no needs to know if vp_node1 exists or
> not. vp_node2 will give frame to vp_node3 from pending buffer or after
> pulling it out from vp_node1. So no filter in pipeline need to know _all_
> pipeline but _only_ own previous and next nodes, i.e. own links. If I'm
> wrong then kick me there, please. ;)
No individual filter needs to know. Rather, vp_pull_frame does. For
various reasons, the recursive calling was abandoned in favor of a
"walk-the-list" approach.
Rich
More information about the MPlayer-G2-dev
mailing list