#include <visp/vp1394TwoGrabber.h>
#include <visp/vpDisplayX.h>
#include <visp/vpImage.h>
#include <visp/vpVideoWriter.h>
int main(int argc, char **)
{
#ifdef VISP_HAVE_DC1394_2
try {
bool save = false;
if(argc == 2) {
save = true;
}
bool reset = true;
#ifdef VISP_HAVE_X11
#else
std::cout << "No image viewer is available..." << std::endl;
#endif
if (save)
while(1) {
if (save)
break;
}
if (save)
}
std::cout << "Catch an exception: " << e << std::endl;
}
#else
(void)argc;
#endif
return 0;
}