I'm planning to add to our api a shared queue, possibly replacing the
one already present in ffplay.

The main problem is that it assumes to be used in a threaded context so
will be available only on thread enabled builds, so I'm unsure about
what to do:

- have it public, provide it using an opaque struct, provide the pthread
implementation and a dummy one.

- have it private, use it only if pthreads are available, do not touch
ffplay.

The queue will be used to implement the async muxer and protocol and
possibly also for the decklink avdevice.

It will probably use AVPacket flags field to deliver the abort and flush
requests currently used in ffplay. so I will define AV_PKT_FLAG_QUIT and
AV_PKT_FLAG_FLUSH.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to