[MPlayer-users] [PATCH] v4l2 interface

Roger Miliker roger_miliker at gmx.at
Wed Feb 12 02:06:18 CET 2003


On Tuesday 11 February 2003 17:31, Szabo Akos wrote:
> > Unfortunatly the patch you posted didn't compile for me (stopped at
> > tvi_v4l2...error1). Do you have a more recent version that I could try?
>
> It works for me, without audio. /I think it can be fixed easily/
>
> All code wroten by Martin Olschewski, I only put v4l2 initialization, what
> is missing from his patch.

I'm either to stupid to patch or using the wrong tools/release/snapshot.

Could you give me some detailed instructions on how to apply this patch and on 
what version of mplayer. I tried patching the rejected parts 'by hand' to 
0.90rc4 -but failed miserably :-(

Thanks for helping.

Roger

i_v4l2.c:839: `VIDIOC_ENUMINPUT' undeclared (first use in this function)
tvi_v4l2.c:844: `VIDIOC_G_INPUT' undeclared (first use in this function)
tvi_v4l2.c:850: storage size of `fmtdesc' isn't known
tvi_v4l2.c:853: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this 
function)
tvi_v4l2.c:854: `VIDIOC_ENUM_FMT' undeclared (first use in this function)
tvi_v4l2.c:866: `VIDIOC_S_FMT' undeclared (first use in this function)
tvi_v4l2.c: In function `start':
tvi_v4l2.c:899: storage size of `request' isn't known
tvi_v4l2.c:904: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this 
function)
tvi_v4l2.c:905: `VIDIOC_REQBUFS' undeclared (first use in this function)
tvi_v4l2.c:922: `VIDIOC_QUERYBUF' undeclared (first use in this function)
tvi_v4l2.c:941: `VIDIOC_QBUF' undeclared (first use in this function)
tvi_v4l2.c:948: `VIDIOC_STREAMON' undeclared (first use in this function)
tvi_v4l2.c: In function `grab_video_frame':
tvi_v4l2.c:978: storage size of `buf' isn't known
tvi_v4l2.c:1002: `V4L2_BUF_TYPE_VIDEO_CAPTURE' undeclared (first use in this 
function)
tvi_v4l2.c:1003: `VIDIOC_DQBUF' undeclared (first use in this function)
tvi_v4l2.c:1020: `VIDIOC_QBUF' undeclared (first use in this function)
make[1]: *** [tvi_v4l2.o] Error 1
make[1]: Leaving directory 
`/home/roger/Desktop/Linux/test/MPlayer-0.90rc4/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2
linux MPlayer-0.90rc4 #



More information about the MPlayer-users mailing list