summaryrefslogtreecommitdiff
path: root/src/dv1394.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-05-21 14:50:20 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-05-21 14:50:20 +0200
commit77a0868116fdfb465d3834a81edb93b1605674b1 (patch)
tree3b5c699ff5c9d40ad025ab5f57d0c04666f17cf2 /src/dv1394.cc
parenteda4e58427a74f8ea969b3062327b6ea6309d310 (diff)
Fix last TODOs
Diffstat (limited to 'src/dv1394.cc')
-rw-r--r--src/dv1394.cc14
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;
}