diff options
Diffstat (limited to 'src/decoder.cc')
-rw-r--r-- | src/decoder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decoder.cc b/src/decoder.cc index 4bdf2cf..d8ae2f5 100644 --- a/src/decoder.cc +++ b/src/decoder.cc @@ -123,7 +123,7 @@ void Decoder::decode() { // FIXME: Read port and channel data from config. int port = 0; - int channel = 63; + int channel = 63; // 63 is default channel... sucks. int n_ports; struct raw1394_portinfo pinf[ 16 ]; @@ -146,11 +146,11 @@ void Decoder::decode() // Tell raw1394 which host adapter to use if(raw1394_set_port(handle, port) < 0 ) { errobj->pushError("Error while opening codec for input stream."); - fprintf( stderr, "raw1394 - failed to set set port: %s.\n", strerror( errno ) ); + fprintf( stderr, "raw1394 - failed to set port: %s.\n", strerror( errno ) ); exit( EXIT_FAILURE ); } - raw1394_set_iso_handler( handle, channel, raw_reader); // 63 is default channel... sucks. + raw1394_set_iso_handler( handle, channel, raw_reader); raw1394_set_userdata( handle, ( void* ) NULL); raw1394_start_iso_rcv( handle, channel); |