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

Pimentel Rogerio-B19259 B19259 at freescale.com
Mon Dec 10 09:22:30 PST 2012


Hi Eric,

Interesting observation. I'll check it.

Rgds,
Rogerio

-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Eric Nelson
Sent: Monday, December 10, 2012 3:07 PM
To: meta-freescale at yoctoproject.org
Subject: [meta-freescale] Qt/Phonon integration on i.MX6

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
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale





More information about the meta-freescale mailing list