[mythtv-commits] Ticket #7639: DVD: audio streams get the 'Unknown language' in audio track map

MythTV mythtv at cvs.mythtv.org
Sun Nov 22 20:29:49 UTC 2009


#7639: DVD: audio streams get the 'Unknown language' in audio track map
------------------------------------+---------------------------------------
 Reporter:  linux@…                 |       Owner:  ijr    
     Type:  defect                  |      Status:  new    
 Priority:  minor                   |   Milestone:  unknown
Component:  MythTV - General        |     Version:  unknown
 Severity:  medium                  |     Mlocked:  0      
------------------------------------+---------------------------------------
 Hi,

 I noticed that with the DVDs I checked the codec did not set the audio
 language code in 'AvFormatDecoder::ScanStreams' resulting in the audio
 streams being saved in 'Unknown Language' internally.
 This does not seem to be a bigger issue as the OSD gets its information
 about the tracks directly via dvdnav and not via the track map.

 I added some code to get the language info for the track map via dvdnav as
 well in case of DVDs and created a patch for this.

 When testing the patch I ran into a bug that was shadowed by all audio
 tracks always having the unknown language: the stream selection in
 'AvFormatDecoder::AutoSelectAudioTrack' exited early in case the audio map
 contained more than 1 language. I fixed this as well as part of the patch
 as it will only create more problems otherwise.

 The patch is against release-0-22-fixes.

 Please let me know if you need more information or testing.

 Best wishes,

 Martin.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7639>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list