Hi,
Quoting John Högberg (2015-05-18 14:23:43)
> This is patch 1 out of 3 that addresses the issue with detecting carrier loss.
> This first one adds the raise-by-omission mechanism required for the 
> NO_CARRIER
> event to function properly on formats like MPEG-TS, the second adds the
> NO_CARRIER event, and the third provides an implementation for MPEG-TS.
> 
> Users must call av_reset_event_flags() to reset flags in order to detect 
> events
> that are raised through omission (Currently only NO_CARRIER on MPEG-TS, see
> patch 3) rather than set event_flags to 0, but the old method will still work
> fine for events that are explicitly raised, requiring no changes to existing
> code or binaries.
> 

maybe I'm not seeing something obvious, but why don't you flip the
meaning of the flag, thus avoiding the need for the new function?

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

Reply via email to