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

QMediaPlayer disables timers, renders when paused, consumes CPU

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.2
    • Multimedia
    • macOS 10.14.6 (Mojave)
      Radeon Pro 560X
      2.9 GHz Intel 12 Core i9
      32gigs RAM
    • macOS

    Description

      when using QMeidaPlayer to play a local HD (1080p) file, using QGraphicsScene + QGraphicsVideoItem, it consumes so much CPU that timers don't fire.

      even when paused, pixels for the same frame keep rendering repeatedly.

      to reproduce, open sample project "Video Graphics Item Example", and in there open HD file and play it.  pause the video. break into debugger and see it is always painting frames.  add a QTimer and watch it be unable to reliably fire.

      see forum post

      Attachments

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

        Activity

          People

            dorisverria Doris Verria
            davecotter David M. Cotter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes