#include <visp3/core/vpImage.h>
#include <visp3/gui/vpDisplayX.h>
#include <visp3/io/vpVideoWriter.h>
#include <visp3/sensor/vp1394TwoGrabber.h>
int main(int argc, char **)
{
#ifdef VISP_HAVE_DC1394
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;
}