home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0002560: TVPlugin: Audio stream is not selected correctly
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MediaPortal-Bot" data-source="post: 539792" data-attributes="member: 48617"><p><a href="https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/tvplugin-audio-stream-not-selected-correctly-73722/" target="_blank">https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/tvplugin-audio-stream-not-selected-correctly-73722/</a> [<a href="https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/tvplugin-audio-stream-not-selected-correctly-73722/" target="_blank">^</a>]</p><p></p><p>When you have setup Prefer-AC3 but NOT Prefer-AC3 over language and you have a stream with MPEG and AC3 both with correct language MP selects MPEG stream instead of AC3 stream. This is caused by a useless if condition which skips the scanning of additional streams after finding the first one.</p><p></p><p>During introduction of unit tests I also found another bug:</p><p>this scenario:</p><p>1 dual mono audio track (dan/eng)</p><p></p><p>lang. prefs: "dan"</p><p></p><p>result: stereo. </p><p>it should instead choose the left audio track as this matches the user lang. selection</p><p></p><p>now the GetPreferedAudioStreamIndex method has 25+ unit tests to insure code/logic validity.</p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=2560" target="_blank">http://mantis.team-mediaportal.com/view.php?id=2560</a></p><p></p><p><a href="http://mantis.team-mediaportal.com/view.php?id=2560" target="_blank">Open the issue in Mantis...</a></p></blockquote><p></p>
[QUOTE="MediaPortal-Bot, post: 539792, member: 48617"] [URL]https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/tvplugin-audio-stream-not-selected-correctly-73722/[/URL] [[URL="https://forum.team-mediaportal.com/submit-patches-mediaportal-tv-server-etc-325/tvplugin-audio-stream-not-selected-correctly-73722/"]^[/URL]] When you have setup Prefer-AC3 but NOT Prefer-AC3 over language and you have a stream with MPEG and AC3 both with correct language MP selects MPEG stream instead of AC3 stream. This is caused by a useless if condition which skips the scanning of additional streams after finding the first one. During introduction of unit tests I also found another bug: this scenario: 1 dual mono audio track (dan/eng) lang. prefs: "dan" result: stereo. it should instead choose the left audio track as this matches the user lang. selection now the GetPreferedAudioStreamIndex method has 25+ unit tests to insure code/logic validity. [url]http://mantis.team-mediaportal.com/view.php?id=2560[/url] [url=http://mantis.team-mediaportal.com/view.php?id=2560]Open the issue in Mantis...[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugtracker Feed
0002560: TVPlugin: Audio stream is not selected correctly
Contact us
RSS
Top
Bottom