[MPlayer-dev-eng] [PATCH] Fix audio stream selection in Gtk GUI

Rich rincebrain at gmail.com
Sat Aug 19 11:33:01 CEST 2006


I noticed today that audio stream selection in the GUI is off by at least
one in all the files with multiple audio streams I tried it in:

For OGM files, the Audio track menu in the GUI offered the correctly labeled
options (Track 1, Track 2, et al), but they selected the wrong streams
(Track 1 selected the second audio stream, while Track 2 tried to select a
nonexistent third audio stream).

For MKV files, the Audio track menu in the GUI offered incorrectly labeled
options (Track 2 and Track 3, for a file with only two audio streams), and
Track 2 attempted to play a third audio stream (which didn't exist), while
Track 3 attempted to play a fourth audio stream (which, again, does not
exist).

My patch corrects both of these problems without, as far as I can tell,
breaking anything.

- Rich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: menu3.diff
Type: text/x-patch
Size: 918 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060819/b9e9205d/attachment.bin>


More information about the MPlayer-dev-eng mailing list