From 2bc679e65e1bf9ccaf7381af90970c69ecaa5e6e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 5 Jul 2017 14:11:17 -0400 Subject: [PATCH] if a 0 scale is given, default to 100% --- src/zm_stream.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/zm_stream.h b/src/zm_stream.h index 98d96389f..d844cc960 100644 --- a/src/zm_stream.h +++ b/src/zm_stream.h @@ -156,6 +156,8 @@ public: void setStreamScale( int p_scale ) { scale = p_scale; + if ( ! scale ) + scale = DEFAULT_SCALE; } void setStreamReplayRate( int p_rate ) {