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
Hi Eric,
Interesting observation. I'll check it.
Rgds,
Rogerio
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Eric Nelson
Sent: Monday, December 10, 2012 3:07 PM
To: [email protected]
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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale