[mythtv-commits] Ticket #7638: DVD: wrong audio track selected when switching
MythTV
mythtv at cvs.mythtv.org
Sun Nov 22 20:09:06 UTC 2009
#7638: DVD: wrong audio track selected when switching
------------------------------------+---------------------------------------
Reporter: linux@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: medium | Mlocked: 0
------------------------------------+---------------------------------------
Hi,
when the logical order of audio streams on a DVD and the order of their
stream ids do not match, the internal player will select the wrong audio
streams for selections in the OSD 'Select Audio Track' menu or the DVD
menu.
I traced this to the sorting of audio streams in
'AvFormatDecoder::ScanStreams' and simply removing the sorting solved my
problem. However, I am not sure whether the sorting is actually needed in
other places, so in that case I think the logical trackNo should be added
to the 'StreamInfo' object to allow proper mapping.
I attached a patch that simply removes the sorting of the audio tracks
that works for me. It is against release-0-22-fixes.
Please let me know if you need further info or testing.
Best wishes,
Martin.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7638>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list