public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Pereira Nunes <alex@PolesApart.dhs.org>
To: linux-kernel@vger.kernel.org
Subject: video4linux API question
Date: Sun, 09 Feb 2003 19:49:05 -0200	[thread overview]
Message-ID: <3E46CCD1.60903@PolesApart.dhs.org> (raw)

Hi,


In v4l v1 api, is there a way to get the "active" (current) video input (channel)?
I mean, I can use VIDIOCSCHAN to tell the channel i want, but I can't 
use (i.e.) VIDIOCGCHAN to see what is the selected channel between different programs.
It seems that it could be of some use, since there is already some state stored
in the driver (at least in bttv I can use for example one interactive program for setting
input parameters (bright/contrast/whatever) and then let these settings in effect for another,
non-interactive capture daemon, for example.

Of course there are some implications in doing it this way, but that is exactly my question: if there are some
provisions for something like that (settings remaining throught multiple sessions) planned in th API,
or if I can't rely in this behaviour at all.


Also, are there any provisions for multiple programs open()ing the same device simultaneously?


What about v4l 2, in both issues?


Thanks in advance,


Alexandre




                 reply	other threads:[~2003-02-09 21:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3E46CCD1.60903@PolesApart.dhs.org \
    --to=alex@polesapart.dhs.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox