From: Claudio Luck <cluck@ethz.ch>
To: Andrea <mariofutire@googlemail.com>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] How to use a DVB FRONTEND in read only?
Date: Sat, 14 Jun 2008 17:59:03 +0200 [thread overview]
Message-ID: <4853EAC7.9080902@ethz.ch> (raw)
In-Reply-To: <4853BA32.4050606@googlemail.com>
Andrea wrote:
>> Check for open filehandles on demux device:
> ...
> I will try that, but it sounds to me a very non natural solution.
Everything is a file :)
> Should the dvb framework tell the clients if it is streaming or not? via
> an ioctl like FE_GET_INFO?
IMHO if we realize that any streaming happens through open file handles,
we also realize that there is no need for a custom query in Linux DVB
API for the same information (circumventing or reinventing user access
control). Query the Kernel about process information.
FE_GET_INFO is specific to the frontend, not the demux.
A design question might be raised through: should readonly demux file
handles stop streaming after the readwrite demux filehandle is closed?
This behavior is different compared to frontends remaining tuned even
after closing the controlling frontend file handles.
--
Best Regards
Claudio
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
prev parent reply other threads:[~2008-06-14 15:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 21:07 [linux-dvb] How to use a DVB FRONTEND in read only? Andrea
2008-06-14 12:13 ` Claudio Luck
2008-06-14 12:31 ` Andrea
2008-06-14 15:59 ` Claudio Luck [this message]
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=4853EAC7.9080902@ethz.ch \
--to=cluck@ethz.ch \
--cc=linux-dvb@linuxtv.org \
--cc=mariofutire@googlemail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox