[FFmpeg-devel] av_read_frame_flush

Erik Van Grunderbeeck erik
Fri Jun 19 03:04:36 CEST 2009


Question;

 

av_read_frame_flush() is now defined static in libavformat/utils.c. Would
there be any objection on making it public part of api?

 

Second question;

 

For the DVD reading I am doing I need to find a way to flush (and remove)
streams from the context once a new vob/cell starts. The best way I found to
come up with this is "flag" the stream for removal, when a dvd vob
transition is dedected in the client api. This way, when the demuxer finds a
stream with the same id it can check if it needs to keep it, or just free
the old stream and replace it with the new one. It's I think the path with
the least (or no) impact on the current end-user functionality. Any feedback
on this? It would involve adding a "flag" member to the AVStream structure.

 

Tx

 

Erik




More information about the ffmpeg-devel mailing list