Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-2026

Missing break keyword in DirectShowPlayerService::doSetUrlSource() method?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.2.0
    • Multimedia
    • None
    • Windows XP SP3 32-bit, Qt 4.7.3, QtMobililty 1.2.0, MSVC 2008.

    Description

      Setting an URL using the method QMediaPlayer::setMedia is managed by the Directshow backend in the file plugins/multimedia/directshow/player/DirectShowPlayerService.cpp (line 336-352). However, when the given url cannot be loaded, then some error code are not distinguishable from the default (unknown) one. A simple 'break' added line 346 could resolve the problem and also fix the problem to see the warning "DirectShowPlayerService::doSetUrlSource: Unresolved error code ..." as it is not an unresolved error.

      Attachments

        Activity

          People

            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            abarre Arnaud Barré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: