From 77a0868116fdfb465d3834a81edb93b1605674b1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 21 May 2014 14:50:20 +0200 Subject: Fix last TODOs --- src/dv1394.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/dv1394.cc') 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; } -- cgit v1.2.3