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

QMediaPlayer disables timers, renders when paused, consumes CPU

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.15.2
    • Multimedia
    • macOS 10.14.6 (Mojave)
      Radeon Pro 560X
      2.9 GHz Intel 12 Core i9
      32gigs RAM
    • macOS

      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

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

            johanseg Jøger Hansegård
            davecotter David M. Cotter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes