Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 181 → Rev 182

/shark/trunk/drivers/bttv/fg.c
56,7 → 56,8
 
}
 
int FG_init(unsigned int period, unsigned int wcet, unsigned int width, unsigned int height, unsigned int color) {
int FG_init(unsigned int period, unsigned int wcet, unsigned int width,
unsigned int height, unsigned int color, unsigned int channel) {
struct video_window vw;
struct video_picture p;
93,7 → 94,7
bttv_ioctl(&btv, VIDIOCSPICT, &p);
 
bttv_ioctl(&btv, VIDIOCGCHAN, &ch);
ch.channel = 0;
ch.channel = channel;
ch.norm = 3;
bttv_ioctl(&btv, VIDIOCSCHAN, &ch);