[MPlayer-dev-eng] Re: [PATCH] GUI: fix audio/video id in gtk/menu.c

Stanislav Maslovski stanislav.maslovski at gmail.com
Tue Apr 11 11:05:59 CEST 2006


On Tue, Apr 11, 2006 at 12:36:54PM +0400, Stanislav Maslovski wrote:
> Hello,
> 
> When playing an ogg file in gmplayer I noticed that changing audio streams
> from the menu was buggy. An investigation showed that in gtk/menu.c the
> audio and video streams' IDs were assumed to be equal to the indexes of
> the corresponding demuxer->a_streams[i] and demuxer->v_streams[i] members.
> However, from reading demux_ogg.c and demux_mkv.c codes I see that those
> IDs are simply continuously counted from 0. Please, correct me if I am wrong
> or if there are other cases I have not noticed.

I mean the IDs that are used in -aid, for example.

--
Stanislav




More information about the MPlayer-dev-eng mailing list