As you said, if the stream_index is -1, the first found video stream is
used. That would imply that once the first video stream is found, the
searching stops, so if you have more than one video streams, the others
can't be selected with -1. You'll have to pass their real ids.

On Tue, Apr 7, 2009 at 10:56 AM, Nicolas Krieger <[email protected]> wrote:

> Hello,
>
> I have a question about the "av_seek_frame" function.
> I have seen that if the default stream_index is -1, a default stream is
> used. The default stream is the first video stream found.
> If there is more than one stream in a file, does "av_seek_frame" also seek
> in the other streams ?
>
> Nicolas Krieger
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to