From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [git:xawtv3/master] xawtv: reenable its usage with webcam's
Date: Thu, 30 Jun 2011 10:20:21 -0300 [thread overview]
Message-ID: <4E0C7815.3010907@redhat.com> (raw)
In-Reply-To: <4E0C6D7E.4080800@redhat.com>
Em 30-06-2011 09:35, Mauro Carvalho Chehab escreveu:
> Em 30-06-2011 07:55, Hans de Goede escreveu:
>> 1) This bit should be #ifdef __linux__ since we only support
>> auto* on linux because of the sysfs dep:
>
> True, but instead of adding it on every place, the better would be to replace auto/auto_tv
> at the library, instead of adding the test at each place we change to auto mode.
I fixed it using this approach.
>> 2) The added return NULL in case no device can be found lacks
>> printing an error message:
>> I propose changing the return NULL, with a goto to the error print further down.
>
> Yes, that sounds better to me.
The error message didn't look good, so I added an specific message for it.
Yet, IMO, we're being too verbose:
$ scantv
vid-open-auto: failed to open an analog TV device at /dev/video0
vid-open: could not find a suitable videodev
no analog TV device available
Cheers,
Mauro
next prev parent reply other threads:[~2011-06-30 13:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Qbdw6-0007wL-E8@www.linuxtv.org>
2011-06-29 11:01 ` [git:xawtv3/master] xawtv: reenable its usage with webcam's Hans de Goede
2011-06-29 12:01 ` Mauro Carvalho Chehab
2011-06-29 12:24 ` Hans de Goede
2011-06-29 19:27 ` Mauro Carvalho Chehab
2011-06-30 10:55 ` Hans de Goede
2011-06-30 12:35 ` Mauro Carvalho Chehab
2011-06-30 13:20 ` Mauro Carvalho Chehab [this message]
2011-06-30 13:24 ` Mauro Carvalho Chehab
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=4E0C7815.3010907@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 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.