[mythtv-commits] Re: Ticket #730: Add DTS passthrough support

MythTV mythtv at cvs.mythtv.org
Mon Dec 12 19:40:06 EST 2005

#730: Add DTS passthrough support
 Reporter:  martin at zepler.org  |        Owner:  danielk
     Type:  patch              |       Status:  new    
 Priority:  minor              |    Milestone:  unknown
Component:  mythtv             |      Version:  head   
 Severity:  medium             |   Resolution:         
Comment (by martin at zepler.org):

 Ah, I wish trac sent emails when attachments were added. I went and
 updated my patch to the new autoSelectAudioTrack code only to find when I
 come to attach it Daniel's already done the work! (In addition to other
 good changes.)

 I'll attach it anyway because I think there's still a couple of other good
 bits in it. I'll make a new patch with the best from each and test it soon
 (unless Daniel beats me to it again).

 One fix in this is to replace filter_codec with filter_max_ch predicated
 by codec_id. This is because quite a number of DVDs have only AC3 tracks,
 and the real track is not always first - eg. first track can be a 2
 channel commentary. Much better to pick the AC3 track with the most
 channels, more likely to be the real one.

 I've tested this with a couple of dozen DVDs and it almost always gets the
 right track first time. Still has language issues sometimes, but that's
 because libavformat is not picking the language up from AC3 and DTS tracks
 on DVD (always gets UnknownLanguage). Something else I intend to look

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

More information about the mythtv-commits mailing list