Commit 262b856b authored by d.basulto's avatar d.basulto

In error case change the add delay time constant

parent b0b7b6bc
...@@ -278,9 +278,9 @@ int StreamRecorder::bus_callback (GstBus *bus, GstMessage *message, void *user_d ...@@ -278,9 +278,9 @@ int StreamRecorder::bus_callback (GstBus *bus, GstMessage *message, void *user_d
/** Moves the pointer to the position corresponding to the difference of the timestamps */ /** Moves the pointer to the position corresponding to the difference of the timestamps */
//addTime = currentTime - ((StreamRecorder *) user_data)->oldTmpTimestamp; //addTime = currentTime - ((StreamRecorder *) user_data)->oldTmpTimestamp;
cout << "Time to add: " << 1 << endl; cout << "Time to add: " << RECONNECTION_DELAY << endl;
bytesToAdd = 1*READSIZE*STREAMRECORDER_BYTESPERSAMPLE*10; bytesToAdd = RECONNECTION_DELAY*READSIZE*STREAMRECORDER_BYTESPERSAMPLE*10;
cout << "-------------------------------------" << endl; cout << "-------------------------------------" << endl;
cout << "Actual Bytes number: " << "(" << ((StreamRecorder *) user_data)->nBytes << ") + "; cout << "Actual Bytes number: " << "(" << ((StreamRecorder *) user_data)->nBytes << ") + ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment