On 08/05/15 11:02, John Högberg wrote: > Hi again, > > I've changed my approach a bit to make it more general; instead of adding a > "carrier type" field to AVStream, I've added support for raising any event > through omission. Formats set `base_event_flags` whenever they create a > stream, > denoting which events will be raised unless explicitly cleared. To make use of > this you must call the new function av_reset_event_flags() to clear flags, but > the old method of "event_flags = 0" will still work perfectly fine for events > that are explicitly raised.
Having a function is probably nice anyway though. > I expect it won't break any existing code since NO_CARRIER is so far the only > event that may be raised in this manner, and any code that doesn't handle that > therefore doesn't need to use av_reset_event_flags() either. > > I'm hoping this is a step in the right direction. Thoughts? Do you have a sample of this behaviour to share, I want to understand it better. How it would behave regarding seeking? lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
