summaryrefslogtreecommitdiff
path: root/src/encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder.cc')
-rw-r--r--src/encoder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encoder.cc b/src/encoder.cc
index eb8c444..e7b79bf 100644
--- a/src/encoder.cc
+++ b/src/encoder.cc
@@ -126,6 +126,8 @@ void Encoder::encode()
h.header.h_data.record = frame->record;
h.header.h_data.savestate = savestate;//NO_CHANGE;
h.header.h_data.mute = frame->mute;
+
+ savestate = NO_CHANGE; // only transmit once!
// if(freeze_request != freeze_value) freeze_value = freeze_request;
// if(shoot_request != shoot_value) shoot_value = shoot_request;