У вт, 2009-07-28 у 12:48 -0700, Tyler Laing пише: > Hello, > > When I use av_seek_frame, and it works properly, the second call to > av_read_frame causes an error. The first call works, and brings up the > appropriate pts. The second call returns -32. Is this because I am calling > av_seek_frame on both the audio and the video streams? > Do you do avcodec_flush_buffers(...) after seeking? How do you make seeking on streams? I think that avformat_seek_file seeks within a file not a stream. Did you look to ffplay.c to see how seeking is implemented there?
_______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
