Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37005

QMediaPlayer supported mime types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.2.1
    • Multimedia
    • None

    Description

      Hi, I've started to use the QMediaPlayer class on Qt 5.2.1 and I believe there are a few things missing.
      If I call QMediaPlayer::supportedMimeTypes() I get an empty QStringList. (tried on Linux and Windows)
      The documentation says it's a deprecated API but it doesn't say which one to use.
      My guess is that the only way right now is using "hasSupport", but I don't understand the convenience of it.

      Should an application guess all the audio/video mime types in the world and tries all the combinations with all the existing audio/video codecs ?
      Sounds like a very uncomfortable way to retrieve information that the default audio/video provider can clearly provide (gstreamer, directshow, etc..) in a better way.

      Is there a way to retrieve a straight mime types list without doing a non-sense blind shooting ?

      Thanks

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            mcallegari79 Massimo Callegari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes