All of lore.kernel.org
 help / color / mirror / Atom feed
* Qt/Phonon integration on i.MX6
@ 2012-12-10 17:07 Eric Nelson
  2012-12-10 17:22 ` Pimentel Rogerio-B19259
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Nelson @ 2012-12-10 17:07 UTC (permalink / raw)
  To: meta-freescale

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-10 17:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-10 17:07 Qt/Phonon integration on i.MX6 Eric Nelson
2012-12-10 17:22 ` Pimentel Rogerio-B19259

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.