Anton Khirnov <[email protected]> writes: > Open questions: > - thread safety of AVBuffer: > Do we want it and if so, how should we do > it. Basically what's needed is atomic ref/unref.
Most compilers/systems provide atomic operations in some way or other. We could simply support for the gcc variant, also supported by several other compilers, and add others as the need arises. > - cleaning up AVFrame: > AVFrame currently contains a lot of crap I'd rather not have in lavu, > mainly mpeg-specific tables. One other thing is owner, which is also > lavc-specific. > * one possible solution is to just remove the crap (which most > probably has vanishingly small usefulness) and require frame > threaded decoders to use a lavc specific frame struct which would > contain AVFrame+owner. > This is probably the simplest solution, but quite ugly IMO. I don't see a problem with this. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
