[meta-freescale] Qt/Phonon integration on i.MX6

Eric Nelson eric.nelson at boundarydevices.com
Mon Dec 10 09:07:29 PST 2012


Hi all,

Thanks Rogerio for integrating gstreamer and Phonon! It's really nice
to see this function. I've seen your patches on i.MX Community but
hadn't had the time to pull them into any userspace.

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.

Regards,


Eric



More information about the meta-freescale mailing list