public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Lamarque Vieira Souza <lamarque@gmail.com>
To: Hans de Goede <j.w.r.degoede@hhs.nl>
Cc: video4linux-list@redhat.com
Subject: Re: Skype and libv4
Date: Tue, 24 Mar 2009 19:09:59 -0300	[thread overview]
Message-ID: <200903241909.59494.lamarque@gmail.com> (raw)
In-Reply-To: <49C8AF04.7070208@hhs.nl>

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

	Hi,

	Applying this patch to libv4l makes Skype works with my webcam without 
changing the driver. Do you think the patch is ok?

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/

[-- Attachment #2: libv4l-0.5.9.patch --]
[-- Type: text/x-patch, Size: 588 bytes --]

*** libv4l-0.5.9/libv4lconvert/libv4lconvert.c	2009-03-13 08:05:56.000000000 -0300
--- libv4l-0.5.9-lvs/libv4lconvert/libv4lconvert.c	2009-03-24 19:07:14.000000000 -0300
*************** static int v4lconvert_do_try_format(stru
*** 307,312 ****
--- 307,315 ----
      try_fmt = *dest_fmt;
      try_fmt.fmt.pix.pixelformat = supported_src_pixfmts[i].fmt;
  
+     /* Lamarque 24/03/2009 */
+     try_fmt.fmt.pix.field = V4L2_FIELD_ANY;
+ 
      if (!syscall(SYS_ioctl, data->fd, VIDIOC_TRY_FMT, &try_fmt))
      {
        if (try_fmt.fmt.pix.pixelformat == supported_src_pixfmts[i].fmt) {

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  parent reply	other threads:[~2009-03-24 22:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-23 20:08 Skype and libv4l Lamarque Vieira Souza
2009-03-24  9:59 ` Hans de Goede
2009-03-24 16:11   ` Lamarque Vieira Souza
2009-03-24 18:42     ` Lamarque Vieira Souza
2009-03-24 18:58       ` Markus Rechberger
2009-03-24 18:59         ` Markus Rechberger
2009-03-24 19:05         ` Lamarque Vieira Souza
2009-03-24 20:51           ` Theodoros V. Kalamatianos
2009-03-24 21:10             ` Lamarque Vieira Souza
2009-03-24 22:09   ` Lamarque Vieira Souza [this message]
2009-03-24 22:29     ` Skype and libv4 Lamarque Vieira Souza
2009-03-25  9:03     ` Hans de Goede
2009-03-25 14:17       ` Lamarque Vieira Souza
     [not found]         ` <49CB4D4E.6030901@redhat.com>
2009-03-26 13:36           ` Lamarque Vieira Souza
     [not found] <20090326160017.048668E03F1@hormel.redhat.com>
2009-03-26 16:42 ` dean
2009-03-27  1:31   ` Lamarque Vieira Souza

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=200903241909.59494.lamarque@gmail.com \
    --to=lamarque@gmail.com \
    --cc=j.w.r.degoede@hhs.nl \
    --cc=video4linux-list@redhat.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