Hi,
when I use QMediaplayer to play a wav file in sequence, the use of memory increases and is never released.
The suspicious method seems to be QMediaPlayer :: setMedia, in fact if I do not use the play method, the use of memory increases.
My configuration:
- imx6solo
- Yocto
- QT 5.3.2 and QtMultimedia 5.0
- Backend: gstreamer
Do you know if QmediaPlayer or QtMultimedia has some kind of memory leak in the indicated version? Is there a patch for this problem, or a kind of workaround?
Thanks,
Alessandro
I use the FSL Community BSP 1.7 (codename Dizzy).
This is my Build Configuration:
BB_VERSION = "1.24.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "icorem6solo"
DISTRO = "poky"
DISTRO_VERSION = "1.7.3"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto
meta-oe
meta-fsl-arm
meta-fsl-arm-extra
meta-fsl-demos = "<unknown>:<unknown>"
meta-qt5 = "dizzy:adeca0db212d61a933d7952ad44ea1064cfca747"
meta-ruby
meta-networking
meta-python = "<unknown>:<unknown>"
Seems that you have either to use some loop option to infinitely loopback the file or stop playing and de-init the player before starting playing again in the infinite loop.
What exactly version of the Linux BSP do you use? Please specify.