[GEM-cvs] Gem/src/Pixes videoV4L.cpp,1.22,1.23
Brought to you by:
zmoelnig
From: IOhannes m z. <zmo...@us...> - 2006-10-18 11:06:57
|
Update of /cvsroot/pd-gem/Gem/src/Pixes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23901 Modified Files: videoV4L.cpp Log Message: setNorm() now has an effect even if capturing is currently not running; LATER think about making the "mode <norm> <channel>" message work again (it seems like this is some threading problem) Index: videoV4L.cpp =================================================================== RCS file: /cvsroot/pd-gem/Gem/src/Pixes/videoV4L.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** videoV4L.cpp 3 Jul 2006 09:06:06 -0000 1.22 --- videoV4L.cpp 18 Oct 2006 11:06:51 -0000 1.23 *************** *** 122,126 **** { if (errno == EAGAIN) ! fprintf(stderr, "can't sync (no video source?)\n"); else perror("VIDIOCMCAPTURE1"); --- 122,126 ---- { if (errno == EAGAIN) ! error("can't sync (no video source?)"); else perror("VIDIOCMCAPTURE1"); *************** *** 333,337 **** if (ioctl(tvfd, VIDIOCMCAPTURE, &vmmap[frame]) < 0) { if (errno == EAGAIN) ! fprintf(stderr, "can't sync (no video source?)\n"); else perror("VIDIOCMCAPTURE"); --- 333,337 ---- if (ioctl(tvfd, VIDIOCMCAPTURE, &vmmap[frame]) < 0) { if (errno == EAGAIN) ! error("can't sync (no video source?)"); else perror("VIDIOCMCAPTURE"); *************** *** 474,478 **** m_norm=i_norm; startTransfer(); ! } return 0; } --- 474,479 ---- m_norm=i_norm; startTransfer(); ! } ! m_norm=i_norm; return 0; } |