Changeset 4700

Show
Ignore:
Timestamp:
03/21/10 02:21:47 (4 years ago)
Author:
douglask
Message:

Workaround for the broken UVC driver which still ships with Ubuntu

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/mpeg4/video/grabber-v4l2.cpp

    r4508 r4700  
    2020     Added support for MJPEG/JPEG. 
    2121     Added gamma and gain controls. 
    22      by Douglas Kosovic <douglask@itee.uq.edu.au> 
     22     by Douglas Kosovic <doug@uq.edu.au> 
    2323     MJPEG/JPEG support uses Tiny Jpeg Decoder from : 
    2424     http://www.saillard.org/programs_and_patches/tinyjpegdecoder/ 
     
    472472        running_   = 0; 
    473473 
     474        v4l2_close(fd_); 
     475        fd_ = v4l2_open(dev, O_RDWR); 
     476        if (fd_ < 0) { 
     477                perror("open"); 
     478                return; 
     479        } 
    474480} 
    475481