diff options
Diffstat (limited to 'src/dv1394.cc')
-rw-r--r-- | src/dv1394.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dv1394.cc b/src/dv1394.cc index fe06a4d..0fde723 100644 --- a/src/dv1394.cc +++ b/src/dv1394.cc @@ -57,7 +57,7 @@ static int write_frame(unsigned char *data, int len, int complete, dv1394::dv1394(Info *i, int p, int c) { - printf("dv1394::dv1394()\n"); + //printf("dv1394::dv1394()\n"); info = i; port = p; channel = c; @@ -65,7 +65,7 @@ dv1394::dv1394(Info *i, int p, int c) dv1394::~dv1394() { - printf("dv1394::~dv1394()\n"); + // printf("dv1394::~dv1394()\n"); iec61883_dv_fb_close (frame); // Close firewire connection. if(handle) raw1394_destroy_handle (handle); @@ -73,20 +73,20 @@ dv1394::~dv1394() bool dv1394::connect() { - printf("dv1394::connect()\n"); + //printf("dv1394::connect()\n"); handle = raw1394_new_handle_on_port(port); - printf(" handle: %p\n", handle); + //printf(" handle: %p\n", handle); frame = iec61883_dv_fb_init(handle, write_frame, this); - printf(" frame: %p\n", frame); + //printf(" frame: %p\n", frame); if(frame && iec61883_dv_fb_start(frame, channel) == 0) { // ok - printf("frame ok\n"); + //printf("frame ok\n"); } else { // fail - printf("frame fail\n"); + //printf("frame fail\n"); return false; } |