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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.2.0
    • Multimedia
    • None
    • Windows XP SP3 32-bit ; Qt libraries 4.7.3 for Windows (VS 2008) ; QtMobility 1.2 (compiled from source) ; MSVC 2008.

    Description

      Trying to render a video with an unknown format by the Directshow backend is managed in the file plugins/multimedia/directshow/player/DirectShowPlayerService.cpp (line 490-494). However, due to missing 'break', the error is no more set as a QMediaPlayer::FormatError but a QMediaPlayer::ResourceError and a warning is displayed ("DirectShowPlayerService::doRender: Unresolved error code ..."). A simple 'break' added line 495 (before the line "default:") could resolve these problems.

      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: