pycousin / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

Audio language selection bug #565

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open matroska video file with three audio tracks, 1st of it is marked as 
default.
2. Edit → Select audio language. Try to change audio track.
3. See and listen last track is active and not changeable.

What is the expected output? What do you see instead?
Right: player plays audio track that is marked as default. It is possible to 
change it on the fly from menu.
Wrong (actual): player selects last audio track. It is not possible to change 
it.
Matroska files are tested.

What version of the product are you using? On what operating system?
gnome-mplayer 1.0.4
debian squeeze

Please provide any additional information below.

mkvinfo output from one of files (created with "mkvmerge GUI")
==============================================================
+ EBML head
|+ Doc type: matroska
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 114951088
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 4027)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: libebml v0.7.7 + libmatroska v0.8.1
| + Writing application: mkvmerge v2.7.0 ('Do It Again') built on Jul  2 2010 
16:49:42
| + Duration: 354.821s (00:05:54.821)
| + Date: Thu Sep 29 12:59:30 2011 UTC
| + Segment UID: 0x63 0xf0 0x6f 0x39 0x2b 0x7f 0x34 0xe8 0x2f 0xdb 0x0a 0x73 
0xb6 0xa4 0x7e 0x1f
|+ Segment tracks
| + A track
|  + Track number: 1
|  + Track UID: 3994905801
|  + Track type: video
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 0
|  + MinCache: 0
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: V_MS/VFW/FOURCC
|  + Codec decode all: 1
|  + CodecPrivate, length 40 (FourCC: MJPG, 0x47504a4d)
|  + Default duration: 33.333ms (30.000 fps for a video track)
|  + Language: und
|  + Video track
|   + Pixel width: 640
|   + Pixel height: 480
|   + Interlaced: 0
|   + Display width: 640
|   + Display height: 480
| + A track
|  + Track number: 2
|  + Track UID: 3987434571
|  + Track type: audio
|  + Enabled: 1
|  + Default flag: 1
|  + Forced flag: 0
|  + Lacing flag: 1
|  + MinCache: 0
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: A_PCM/INT/LIT
|  + Codec decode all: 1
|  + Default duration: 125.000ms (8.000 fps for a video track)
|  + Language: rus
|  + Name: original
|  + Audio track
|   + Sampling frequency: 11024
|   + Channels: 1
|   + Bit depth: 8
| + A track
|  + Track number: 3
|  + Track UID: 2835680731
|  + Track type: audio
|  + Enabled: 1
|  + Default flag: 0
|  + Forced flag: 0
|  + Lacing flag: 1
|  + MinCache: 0
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: A_MPEG/L3
|  + Codec decode all: 1
|  + Default duration: 26.122ms (38.281 fps for a video track)
|  + Language: eng
|  + Name: Corona
|  + Audio track
|   + Sampling frequency: 44100
|   + Channels: 2
| + A track
|  + Track number: 4
|  + Track UID: 2311012634
|  + Track type: audio
|  + Enabled: 1
|  + Default flag: 0
|  + Forced flag: 0
|  + Lacing flag: 1
|  + MinCache: 0
|  + Timecode scale: 1
|  + Max BlockAddition ID: 0
|  + Codec ID: A_MPEG/L3
|  + Codec decode all: 1
|  + Default duration: 26.122ms (38.281 fps for a video track)
|  + Language: eng
|  + Name: Follow me
|  + Audio track
|   + Sampling frequency: 44100
|   + Channels: 2
|+ EbmlVoid (size: 1024)
|+ Cluster
==============================================================

Original issue reported on code.google.com by AndreyTh...@gmail.com on 29 Sep 2011 at 1:56

GoogleCodeExporter commented 8 years ago
Known issue, fixed in SVN and does require mplayer svn from April 2011 or 
mplayer2. There was a bug in mplayer that reported in audio track indexes 
incorrectly. gnome-mplayer tried to work around it, but the bug in mplayer was 
inconsistent so the workaround did not always work.

Original comment by kdeko...@gmail.com on 29 Sep 2011 at 2:20