DefaultRate and DefaultScale are Monitor properties, so just load them in a Monitor object so we don't have to JOIN the Monitors table

This commit is contained in:
Isaac Connor 2020-11-13 17:04:22 -05:00
parent f1b8266e26
commit a0dcdd135a
1 changed files with 3 additions and 2 deletions

View File

@ -405,8 +405,9 @@ sub generateVideo {
my $Event = shift;
my $phone = shift;
my $rate = $Event->{DefaultRate}/100;
my $scale = $Event->{DefaultScale}/100;
my $Monitor = $Event->Monitor();
my $rate = $$Monitor{DefaultRate}/100;
my $scale = $$Monitor{DefaultScale}/100;
my $format;
my @ffmpeg_formats = split(/\s+/, $Config{ZM_FFMPEG_FORMATS});