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

AvailableAudioStreams method returns incorrect stream types

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.2.0 Beta
    • 1.2.0 Alpha
    • TvServer
    • None
    • Operating System: Windows 7
      Platform: Intel

    Description

      See additional details for the actual code that is broken.

      h4. Additional Information
      if (info.IsMpeg1Audio)
        stream.StreamType = AudioStreamType.Mpeg1;
      if (info.IsMpeg2Audio)
        stream.StreamType = AudioStreamType.Mpeg2;
      if (info.IsAACAudio)
        stream.StreamType = AudioStreamType.AAC;

      stream.StreamType = info.IsLATMAACAudio ? AudioStreamType.LATMAAC : AudioStreamType.Unknown;

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: