public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: What to do with videodev.h
Date: Wed, 26 Jan 2011 07:07:31 -0200	[thread overview]
Message-ID: <4D3FE453.6080307@redhat.com> (raw)
In-Reply-To: <4D3FDAAC.2020303@redhat.com>

Hi Hans,

Em 26-01-2011 06:26, Hans de Goede escreveu:
> Hi All,
> 
> With v4l1 support going completely away, the question is
> raised what to do with linux/videodev.h .
> 
> Since v4l1 apps can still use the old API through libv4l1,
> these apps will still need linux/videodev.h to compile.
> 
> So I see 3 options:
> 1) Keep videodev.h in the kernel tree even after we've dropped
> the API support at the kernel level (seems like a bad idea to me)

That's a bad idea.

> 2) Copy videodev.h over to v4l-utils as is (under a different name)
> and modify the #include in libv4l1.h to include it under the
> new name
> 3) Copy the (needed) contents of videodev.h over to libv4l1.h

I would do (3). This provides a clearer signal that V4L1-only apps need
to use libv4l1, or otherwise will stop working.

Of course, the better is to remove V4L1 support from those old apps.
There are a number of applications that support both API's. So, it
is time to remove V4L1 support from them.

> I'm not sure where I stand wrt 2 versus 3. Comments anyone?

Cheers,
Mauro

  reply	other threads:[~2011-01-26  9:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-26  8:26 What to do with videodev.h Hans de Goede
2011-01-26  9:07 ` Mauro Carvalho Chehab [this message]
2011-01-26  9:47   ` Hans Verkuil
2011-01-26 11:36     ` Mauro Carvalho Chehab
2011-01-26 14:31       ` Devin Heitmueller

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=4D3FE453.6080307@redhat.com \
    --to=mchehab@redhat.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-media@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