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
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
On Fri, 8 May 2015 09:02:23 +
John Högberg john.hogb...@ericsson.com 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`
Email that never reached the ml since I have a SO horrible connectivity
thanks to Tiscali being just horrible.
On 07/05/15 17:21, John Högberg wrote:
Thanks for your feedback!
Thank you for your help on getting the mpegts support in a better shape =)
Yes, but I wanted to avoid having a flag
Hi again,
Luca Barbato wrote:
Thank you for your help on getting the mpegts support in a better shape =)
Anytime. :)
Usually when a new stream appears you just have a new stream appearing and the
current hacky way to be aware of it is monitor the nb_streams.
Yeah that's rather ugly. I think
Luca Barbato wrote:
Do you have a sample of this behaviour to share, I want to understand it
better.
If no carrier has been present between calling av_reset_event_flags() and
any number of stream-related functions, the flag will be raised.
Call av_reset_event_flags() and read any MPEG-TS
Hi,
libavformat currently doesn't provide any mechanism for detecting when a
substream is no longer present but the stream as a whole is otherwise OK. Your
best guess is to check when you last got any frames on it, which tends to work
for video and audio but not for substreams that sometimes
Thanks for your feedback!
It is an interesting functionality. If I understood it correctly it would
signal when a stream is not active anymore (in a transient or permanent way?).
Pretty much.
If I got it right you can use two flags to signal when the stream is active
and when it is no more