Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4845

TV: wrong audio codec can be selected on channel change

    XMLWordPrintable

Details

    Description

      <p>MP can select the wrong audio codec on channel change.</p>

      <p>The root cause is that MP doesn't keep track of the current audio stream index properly.</p>

      <p>When a channel has more than one audio stream TsReader triggers MP (TV plugin) to select the preferred audio stream. That will always work fine.<br>
      When a channel only has one audio stream, TsReader doesn't trigger the call-back because it [reasonably] determines that there's no need for a selection to be made. The problem is that MP doesn't make the same assumption. That's how the problem arises.</p>

      <p>To reproduce, change between two channels meeting the following conditions:</p>

      <ul>
      <li>the starting channel...
      <ul>
      <li>must have more than one audio stream</li>
      <li>selected audio stream must not be the first one</li>
      </ul>
      </li>
      <li>the selected channel...
      <ul>
      <li>must have only one audio stream</li>
      </ul>
      </li>
      <li>the configured codecs for the starting channel audio stream and selected channel audio stream must be different (ie. you can't reproduce the problem with MPEG -&gt; AC3/DD change because the same codec setting is for both; it must be MPEG/AC3 &lt;--&gt; AAC, MPEG/AC3 &lt;--&gt; DD+ or AAC &lt;--&gt; DD+)</li>
      </ul>

      Attachments

        Activity

          People

            mm1352000 mm1352000 (Inactive)
            mm1352000 mm1352000 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: