mirror of
https://github.com/X11Libre/xf86-video-v4l.git
synced 2026-04-14 11:14:32 +00:00
Compare commits
10 Commits
XEVIE-BASE
...
DRI-trunk-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b299863dd2 | ||
|
|
1f8ceb0991 | ||
|
|
fb4a148b6e | ||
|
|
abaaf69833 | ||
|
|
bd8c0455c2 | ||
|
|
9c34b95344 | ||
|
|
871d6d6aef | ||
|
|
e8bf6a26c8 | ||
|
|
0fc7fdb71a | ||
|
|
1c98a4f36f |
@@ -2,8 +2,7 @@
|
||||
* video4linux Xv Driver
|
||||
* based on Michael Schimek's permedia 2 driver.
|
||||
*/
|
||||
/* $XdotOrg: xc/programs/Xserver/hw/xfree86/drivers/v4l/v4l.c,v 1.33 2003/12/05 03:55:32 dawes Exp $ */
|
||||
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/v4l/v4l.c,v 1.33 2003/12/05 03:55:32 dawes Exp $ */
|
||||
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/v4l/v4l.c,v 1.31 2003/07/16 01:38:47 dawes Exp $ */
|
||||
|
||||
#include "videodev.h"
|
||||
#include "xf86.h"
|
||||
@@ -221,7 +220,7 @@ static int V4lOpenDevice(PortPrivPtr pPPriv, ScrnInfoPtr pScrn)
|
||||
if (first) {
|
||||
first = 0;
|
||||
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, 2,
|
||||
"v4l: memPhysBase=0x%lx\n", pScrn->memPhysBase);
|
||||
"v4l: memPhysBase=%p\n", pScrn->memPhysBase);
|
||||
}
|
||||
|
||||
switch (pScrn->bitsPerPixel) {
|
||||
@@ -719,11 +718,11 @@ static void
|
||||
V4LBuildEncodings(PortPrivPtr p, int fd, int channels)
|
||||
{
|
||||
static struct video_channel channel;
|
||||
int i,entries,have_bttv,bttv_ver;
|
||||
int i,entries,have_bttv;
|
||||
|
||||
#define BTTV_VERSION _IOR('v' , BASE_VIDIOCPRIVATE+6, int)
|
||||
have_bttv = 0;
|
||||
if (-1 != ioctl(fd,BTTV_VERSION,&bttv_ver))
|
||||
if (-1 != ioctl(fd,BTTV_VERSION,NULL))
|
||||
have_bttv = 1;
|
||||
|
||||
entries = (have_bttv ? 7 : 3) * channels;
|
||||
|
||||
Reference in New Issue
Block a user