[libav-devel] [PATCH] lavf: add a format flag for separate carriers, and an event for detecting carrier presence.

Luca Barbato lu_zero at gentoo.org
Wed Jun 3 08:45:13 CEST 2015

On 25/05/15 10:30, John Högberg wrote:
> AVFMT_SEPCARRIERS is a new flag denoting that the format has a separate carrier
> for each stream, e.g. a separate file, transport stream, or connection per
> stream.
> AVSTREAM_EVENT_FLAG_CARRIER_PRESENT is a new event indicating the presence of
> a given stream, and is relevant for formats with the above flag. Its operation
> is fairly simple; all it does is indicate that the stream was alive/present
> since the last time the event flags were cleared, and is distinct from there
> being actual data on the stream.
> --
> If accepted I'll submit an implementation for MPEG-TS since I figure it's
> pointless to clutter the mailing list with it before that.

I was waiting for Anton, I'm more and more convinced that the feature is
important and I'm planning to fit it in the avformat API that will match
the avcodec API I detailed here[1].

I'm not sure about the name, but they can be changed later.


[1]: https://blogs.gentoo.org/lu_zero/2015/03/23/decoupling-an-api/

More information about the libav-devel mailing list