diff options
author | deva <deva> | 2006-04-08 15:20:51 +0000 |
---|---|---|
committer | deva <deva> | 2006-04-08 15:20:51 +0000 |
commit | 46b3c21f079a10e1ed072976d355a8026bcb7580 (patch) | |
tree | 7fb0311f5f76ec991ebc0a05ba3ab62cd5c8946d /client/decoder.cc | |
parent | 9c078bc5e1468ed79d85fafbad41160c0170959e (diff) |
*** empty log message ***
Diffstat (limited to 'client/decoder.cc')
-rw-r--r-- | client/decoder.cc | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/client/decoder.cc b/client/decoder.cc index d4d1d15..e181516 100644 --- a/client/decoder.cc +++ b/client/decoder.cc @@ -28,14 +28,30 @@ #include "info.h" +#include "dv.h" +//#include "dvfile.h" +#include "dv1394.h" + Decoder::Decoder() -{} +{ + frame = NULL; +} Decoder::~Decoder() {} void Decoder::run() { - // MIaV::info->info("The decoder thread is running."); + dv1394 reader; + + reader.connect(); + + while(1) { + frame = reader.readFrame(); + } } +unsigned char *Decoder::getFrame() +{ + return frame; +} |