summaryrefslogtreecommitdiff
path: root/rotord/rotor.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-05-02 18:35:29 +0100
committerTim Redfern <tim@herge.(none)>2013-05-02 18:35:29 +0100
commit4aa8f7c20c5e8bbe1ed9b007a1193ced8b019f4d (patch)
treea15b5161b4bdff3f3115355e6e34229595876dfa /rotord/rotor.cpp
parent836848622f85231c3ff6b9af49704fec4c035df4 (diff)
include problems - added makde Clang for clarity
Diffstat (limited to 'rotord/rotor.cpp')
-rwxr-xr-xrotord/rotor.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/rotord/rotor.cpp b/rotord/rotor.cpp
index c79a9c7..b0bf8ab 100755
--- a/rotord/rotor.cpp
+++ b/rotord/rotor.cpp
@@ -1,16 +1,6 @@
#include "rotor.h"
-//float equality
-bool fequal(const float u,const float v){
- if (abs(u-v)<.001) return true;
- else return false;
-};
-bool flessorequal(const float u,const float v){
- //v is less or equal to u
- if (u-v>-.001) return true;
- else return false;
-};
using namespace Rotor;
@@ -120,7 +110,7 @@ string Audio_thumbnailer::print(){
stringstream output;
Poco::Base64Encoder *enc=new Poco::Base64Encoder(output);
- enc->write(data,width*height);
+ enc->write((char*)data,width*height);
//tring output;
/*
for (int j=0;j<height;j++) {
@@ -254,7 +244,7 @@ Image* Video_input::get_output(const Frame_spec &frame){
//can image node point to buffer in gst rather than copying the pixels?
//to test using fp time to seek: need a short movie with synced audio
-
+
//fix actual duration and audio file
//trace frame that is being read
if (player->isLoaded()){