[MPlayer-dev-eng] pts and video filters

Rich Felker dalias at aerifal.cx
Sat Jan 28 06:51:52 CET 2006


On Fri, Jan 27, 2006 at 04:25:34PM +0200, Ivan Kalvachev wrote:
> 2006/1/26, Michael Niedermayer <michaelni at gmx.at>:
> > Hi
> >
> > attached patch outlines how that could be done, alternatively a pts field
> > could be added to mp_image_t
> > oppinions?
> 
> the mp_image could be allocated once and used in many filters (DR).

NO, this is not how the system works. the mp_image is associated with
the link between two filters and must never be used in another
context, even if the same underlying buffer is used.

This limitation applies not only to the current architecture (which
sucks), but to any properly-designed architecture as well. However
it's not a limitation at all since two distinct mp_images could share
the same allocation space for the actual pixel data.

Rich




More information about the MPlayer-dev-eng mailing list