Mercurial > mplayer.hg
comparison libmpdemux/tvi_v4l.c @ 11814:9e88ceb462c7
compile fix when v4l2 is present but disabled
author | alex |
---|---|
date | Tue, 20 Jan 2004 13:32:05 +0000 |
parents | 66e491c35dc8 |
children | 80f8c8cffa31 |
comparison
equal
deleted
inserted
replaced
11813:629063044de5 | 11814:9e88ceb462c7 |
---|---|
408 // when VIDIOCGAUDIO just cannot report the mode correctly | 408 // when VIDIOCGAUDIO just cannot report the mode correctly |
409 if (reqmode >= 0) priv->audio[i].mode = reqmode; | 409 if (reqmode >= 0) priv->audio[i].mode = reqmode; |
410 } | 410 } |
411 } | 411 } |
412 | 412 |
413 #ifndef __LINUX_VIDEODEV2_H | 413 #if !defined(__LINUX_VIDEODEV2_H) && !defined(VIDIOC_QUERYCAP) |
414 struct v4l2_capability | 414 struct v4l2_capability |
415 { | 415 { |
416 __u8 driver[16]; /* i.e. "bttv" */ | 416 __u8 driver[16]; /* i.e. "bttv" */ |
417 __u8 card[32]; /* i.e. "Hauppauge WinTV" */ | 417 __u8 card[32]; /* i.e. "Hauppauge WinTV" */ |
418 __u8 bus_info[32]; /* "PCI:" + pci_dev->slot_name */ | 418 __u8 bus_info[32]; /* "PCI:" + pci_dev->slot_name */ |