All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Nelson <eric.nelson@boundarydevices.com>
To: meta-freescale@yoctoproject.org
Subject: Qt/Phonon integration on i.MX6
Date: Mon, 10 Dec 2012 10:07:29 -0700	[thread overview]
Message-ID: <50C616D1.1020409@boundarydevices.com> (raw)

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


             reply	other threads:[~2012-12-10 17:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10 17:07 Eric Nelson [this message]
2012-12-10 17:22 ` Qt/Phonon integration on i.MX6 Pimentel Rogerio-B19259

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C616D1.1020409@boundarydevices.com \
    --to=eric.nelson@boundarydevices.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.