Re: [GnomeMeeting-list] Firewire Cameras on MacOSX?



Le jeu 03/07/2003 à 03:25, Georgi Georgiev a écrit :
> On 02/07/2003 at 10:00:45(+0200), Damien Sandras used 1.2K just to say:
> > There are comments in the code that indicates both won't work at the
> > same time...
> 
> This sounds like one of *my* comments at the beginning of videoio1394avc.c of
> pwlib (line 38)
> 
> quote:
> 
> * - not sure if TRY_1394AVC and TRY_1394DC will not break something if used at
> *   the same time
> 
> Well, I tried to point out that I have no idea what would happen, since I
> didn't have the means to test.

Compiling support for both Firewire devices at the same time can also
give problems in GnomeMeeting itself, for example here :
---
#ifdef TRY_1394AVC
    if (video_device == "/dev/raw1394" ||
       strncmp (video_device, "/dev/video1394", 14) == 0) {
            grabber = new PVideoInput1394AvcDevice();
       }
    else
#endif
#ifdef TRY_1394DC
    if (video_device == "/dev/raw1394" ||
        strncmp (video_device, "/dev/video1394", 14) == 0)
           grabber = new PVideoInput1394DcDevice();
    else
#endif
      {
         grabber = new PVideoInputDevice();
      }
---

Of course, if somebody promises me to do the required tests, I can
update the code (after my holidays) and we can try to have both things
compiled at the same time to see if it works.
-- 
Damien Sandras <dsandras seconix com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]