[FFmpeg-devel] [PATCH] better default stream selection

Aurelien Jacobs aurel
Tue Jun 3 17:20:12 CEST 2008


On Tue, 3 Jun 2008 03:52:25 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:

> On Tue, Jun 03, 2008 at 02:02:36AM +0200, Aurelien Jacobs wrote:
> > Hi
> > 
> > Right now, av_find_default_stream_index() will return index to the first
> > video stream. If there is no video stream, it will just return 0.
> > In case of an audio file with attachments, it may point to the
> > attachment instead of the audio stream as one would expect.
> > The attached patch ensure the first audio stream is selected as the
> > default stream when no video stream is present.
> 
> ok

Applied.

Aurel




More information about the ffmpeg-devel mailing list