On Wed, Apr 02, 2008 at 08:04:43PM -0400, Mike wrote: > I have been trying numerous approaches to flushing, but have been > unsuccessful. I have set up a URLProtocol and associated ByteIOContext. > After making a call to av_open_input_stream, my read function is invoked to > read data. After the read_header is finished and the call returns, there is > still data maintained internally. Is there a way to flush out this data, so > that the next call to av_read_frame forces an immediate call to my read > function? I see the av_read_frame_flush method in avformat/utils.c, but it > is not exported nor declared in any header file and I'm not sure if this is > the proper approach. What is the correct way to accomplish this flush? Do > I need to perform a seek?
What are you trying to do? Provide libavformat with some data and then decide to make it disapear and provide it with different data? Sounds like you are doing something odd ... [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No snowflake in an avalanche ever feels responsible. -- Voltaire
signature.asc
Description: Digital signature
_______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
