I did find an issue with qmediaplayer on i.MX6 though. It appears that a reference to /dev/video17 leaks during each video playback. Before playing any videos, no handles are open: ~# ls -l /proc/`pidof qmediaplayer`/fd | grep /dev/video ~# During the first video, two handles are open: ~# ls -l /proc/`pidof qmediaplayer`/fd | grep /dev/video lrwx------ 1 root root 64 Dec 9 23:49 16 -> /dev/video17 lrwx------ 1 root root 64 Dec 9 23:49 17 -> /dev/video17 If I let the first complete, then open another video, I see three handles: ~# ls -l /proc/`pidof qmediaplayer`/fd | grep /dev/video lrwx------ 1 root root 64 Dec 9 23:49 16 -> /dev/video17 lrwx------ 1 root root 64 Dec 9 23:49 17 -> /dev/video17 lrwx------ 1 root root 64 Dec 9 23:52 18 -> /dev/video17 and so on. I caught this after repeatedly playing the very short akiyo.mp4 from /unit_tests. After a few successful runs, video playback stopped.
I was able to reproduced it under a imx6qmachine. I wonder if this problem has to be solved under the meta-fsl-arm or we simple have to report it to the right community. Checking on google for possible solutions...
commit e280c54d1ba2c7ec46e5d699fbd880f70e6c387d Author: Leonardo Sandoval <leonardo.sandoval@freescale.com> Date: Thu Feb 7 15:14:34 2013 -0600 imx-test: Condition the mxc_epdc_x11_fb_test installation Condition the compilation/installation of the unit test '/unit_tests/mxc_epdc_x11_fb_test'. This binary is only valid on specific platforms (not yet supported by current layer) like IMX508. Tested on a Sabre SD i.MX6Q board. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3615 [YOCTO #3615] Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Sorry, this is the correct commit which solved the issue. commit c2cbd977ee7ffa53f715222a13feec599b9836d1 Author: Leonardo Sandoval <leonardo.sandoval@freescale.com> Date: Thu Feb 7 11:41:14 2013 -0600 qt4: Add a unreference instruction on qt4 phonon patch Correct the qt4 phonon patch adding a statement which unreferences an object representing the freescale video sink. Tested on a iMX6Q machine using the fsl-image-gui image. Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3572 [YOCTO #3572] Signed-off-by: Leonardo Sandoval <leonardo.sandoval@freescale.com>