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

QMediaPlayer/MediaPlayer memory leaks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2
    • Multimedia
    • Linux Ubuntu 20 LTS

      Hi,
      I'm developing a digital signage software and I need to play several videos during the day. I've a problem with QMediaPlayer/MediaPlayer, I think there's a memory leak because more videos I'm playing more the memory increase.

      Before destroying the component I'm setting MediaPlayer source QMediaContent() to clear the source but it seems not to fix the issue.

      I need support for that problem.

      I'm attaching the sources of the demo project, I cannot attach test videos because are more than 200Mb each

        1. appwrapper.cpp
          3 kB
        2. appwrapper.h
          0.9 kB
        3. itemwrapper.cpp
          1 kB
        4. itemwrapper.h
          0.5 kB
        5. main.cpp
          1 kB
        6. main.qml
          0.2 kB
        7. mediaplayer.qml
          0.6 kB
        8. qml.qrc
          0.1 kB
        9. TestPlayer.pro
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            timblechmann tim blechmann
            peel70 Enrico Pelò
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes