* Missing V4L2_PIX_FMT_JPGL
@ 2011-03-14 10:16 Hans Verkuil
2011-03-14 10:25 ` Hans de Goede
0 siblings, 1 reply; 2+ messages in thread
From: Hans Verkuil @ 2011-03-14 10:16 UTC (permalink / raw)
To: Hans de Goede; +Cc: linux-media
Hi Hans,
I just copied the latest videobuf2.h to v4l-utils and tried to compile,
but it fails with:
make[2]: Entering directory
`/home/hve/work/src/v4l/v4l-utils/lib/libv4lconvert'
cc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c -I../include
-fvisibility=hidden -fPIC -DLIBDIR=\"/usr/local/lib\"
-DLIBSUBDIR=\"libv4l\" -I../../include -I../../lib/include -D_GNU_SOURCE
-DV4L_UTILS_VERSION='"0.8.4-test"' -g -O1 -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -o libv4lconvert.o
libv4lconvert.c
libv4lconvert.c:73: error: 'V4L2_PIX_FMT_JPGL' undeclared here (not in a
function)
It seems V4L2_PIX_FMT_JPGL was removed. I guess the support for this
format can be removed from libv4lconvert.c?
Regards,
Hans
--
Hans Verkuil - video4linux developer - sponsored by Cisco
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Missing V4L2_PIX_FMT_JPGL
2011-03-14 10:16 Missing V4L2_PIX_FMT_JPGL Hans Verkuil
@ 2011-03-14 10:25 ` Hans de Goede
0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2011-03-14 10:25 UTC (permalink / raw)
To: Hans Verkuil; +Cc: linux-media
Hi,
On 03/14/2011 11:16 AM, Hans Verkuil wrote:
> Hi Hans,
>
> I just copied the latest videobuf2.h to v4l-utils and tried to compile,
> but it fails with:
>
> make[2]: Entering directory
> `/home/hve/work/src/v4l/v4l-utils/lib/libv4lconvert'
> cc -Wp,-MMD,"libv4lconvert.d",-MQ,"libv4lconvert.o",-MP -c -I../include
> -fvisibility=hidden -fPIC -DLIBDIR=\"/usr/local/lib\"
> -DLIBSUBDIR=\"libv4l\" -I../../include -I../../lib/include -D_GNU_SOURCE
> -DV4L_UTILS_VERSION='"0.8.4-test"' -g -O1 -Wall -Wpointer-arith
> -Wstrict-prototypes -Wmissing-prototypes -o libv4lconvert.o
> libv4lconvert.c
> libv4lconvert.c:73: error: 'V4L2_PIX_FMT_JPGL' undeclared here (not in a
> function)
>
> It seems V4L2_PIX_FMT_JPGL was removed. I guess the support for this
> format can be removed from libv4lconvert.c?
>
Actually it is not removed, it is not yet added. This is a new format
for devices using the (ancient) nw80x chipset. Jean Francois Moine has
been working on adding support for those to the gspca driver. I expect
a pull request from him soon, to add this driver to 2.6.39, and thus
the define to videodev2.h . In the mean time please leave the define
in v4l-utils's videodev2.h copy (insert it manually after syncing).
Regards,
Hans
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-14 10:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14 10:16 Missing V4L2_PIX_FMT_JPGL Hans Verkuil
2011-03-14 10:25 ` Hans de Goede
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox