----- Original Message -----
> From: "Andrew Tarzwell" <[email protected]>
> To: [email protected]
> Sent: Sunday, February 17, 2013 4:01:07 PM
> Subject: [SFLphone] Compile Error on Debian sid
> 
> a) sflphone is amazing, Nice UI, small, unobtrusive and supports
> IAX2,
> well done and thank you
> 
> b) Had a small compile problem on Debian.:
> 
> I don't know anything about v4l, but this seems to have allowed it to
> compile.

Thanks for the support, and the patch! I've applied it to master:
https://projects.savoirfairelinux.com/projects/sflphone/repository/revisions/06e23760d3bb80f9e03dae20b47a03cb3433ec19/diff/daemon/src/video/video_v4l2.cpp

Do you have a log of the compilation error?

Best,
Tristan

> 
> 
> --- Begin Diff
> 
> diff --git a/daemon/src/video/video_v4l2.cpp
> b/daemon/src/video/video_v4l2.cpp
> index 56fe1db..7d09392 100644
> --- a/daemon/src/video/video_v4l2.cpp
> +++ b/daemon/src/video/video_v4l2.cpp
> @@ -241,7 +241,7 @@ VideoV4l2Channel::getSizes(int fd, unsigned int
> pixelformat)
>          }
>      }
> 
> -    v4l2_format fmt = {0};
> +    v4l2_format fmt = {(v4l2_buf_type)0};
>      fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
>      if (ioctl(fd, VIDIOC_G_FMT, &fmt) < 0)
>          throw std::runtime_error("Could not get format");
> 
> 
> ---- End Diff
> 
> Cheers,
> Andrew
> _______________________________________________
> SFLphone mailing list
> [email protected]
> http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
> 

-- 

Tristan Matthews
Développeur de logiciels libres
[email protected]
Ligne directe: 514-276-5468 poste 190

Fax : 514-276-5465
7275 Saint Urbain
Bureau 200
Montréal, QC, H2R 2Y5

_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to