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

QMediaPlayer/MediaPlayer memory leaks

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        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.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes