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?
Thanks again _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
