Hi On Tue, Jan 09, 2007 at 02:38:30PM +0100, Luca Abeni wrote: > Hi Michael, > > On Tue, 2007-01-09 at 01:51 +0100, Michael Niedermayer wrote: > [...] > > > 2) The "last" filter who use the AVFrame buffer is responsible for > > > freeing it. > [...] > > what if there are several Fout? (several outputs) > You are right. I forgot to mention that using this mechanism a single > frame buffer cannot be pushed to two different output filters, and a > copy is needed for the second output (well, I had something similar > witten on my old notes, but it was too confused and I skipped it :). > > If this additional copy is not acceptable, then I think refcounting is > the only way to go an additional copy is never a good idea ... > (or am I missing some other possible solution?). who knows ... > Is it acceptable to add a reference_count field in AVFrame? yes if its neccesary and enough to solve the problem [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Let us carefully observe those good qualities wherein our enemies excel us and endeavor to excel them, by avoiding what is faulty, and imitating what is excellent in them. -- Plutarch -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070109/fb5e4198/attachment.pgp>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4