Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Disable tone generation when nothing is rolling out

Also decrease default jpeg quality to 80
  • Loading branch information...
commit 1ca0522b20b5f3e03e84b55480495386e64eb3c4 1 parent 3e914f5
root authored
View
2  replay/replay_ingest.cpp
@@ -46,7 +46,7 @@ void ReplayIngest::run_thread( ) {
ReplayRawFrame *monitor_frame;
ReplayFrameData data_to_write;
- Mjpeg422Encoder enc(1920, 1080, 90); /* FIXME: hard coded frame size */
+ Mjpeg422Encoder enc(1920, 1080, 80); /* FIXME: hard coded frame size */
Mjpeg422Encoder thumb_enc(480, 272, 30);
timecode_t pos;
View
3  replay/replay_playout_bars_source.cpp
@@ -22,6 +22,7 @@
#include <math.h>
#include <unistd.h>
#include <fcntl.h>
+#include <string.h>
ReplayPlayoutBarsSource::ReplayPlayoutBarsSource( ) {
int barsfd;
@@ -52,7 +53,7 @@ void ReplayPlayoutBarsSource::read_frame(ReplayPlayoutFrame &frame_data,
frame_data.tc = 0;
frame_data.fractional_tc = 0;
frame_data.source_name = "No Source";
- oscillate(frame_data.audio_data, 440);
+ memset(frame_data.audio_data->data( ), 0, frame_data.audio_data->size( ));
}
void ReplayPlayoutBarsSource::oscillate(AudioPacket *pkt, float frequency) {
Please sign in to comment.
Something went wrong with that request. Please try again.