On Wed, Jul 29, 2009 at 1:36 AM, V0id <[email protected]> wrote:

> У вт, 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
>

Oh yeah, I have it figured out, and forgot to post here
Thanks anyways! My issue was that yeah, two calls when I should only have
one.

-Tyler


-- 
Visit my blog at http://oddco.ca/zeroth/zblog
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to