mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-23 14:58:26 -04:00
if a 0 scale is given, default to 100%
This commit is contained in:
1 parent
834d1dddfa
commit
2bc679e65e
1 file changed
+2
@@ -156,6 +156,8 @@ public:
|
||||
void setStreamScale( int p_scale )
|
||||
{
|
||||
scale = p_scale;
|
||||
if ( ! scale )
|
||||
scale = DEFAULT_SCALE;
|
||||
}
|
||||
void setStreamReplayRate( int p_rate )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user