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:
parent
f1b8266e26
commit
a0dcdd135a
|
@ -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});
|
||||
|
|
Loading…
Reference in New Issue