Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
commit
d82d2e7765
scripts
ZoneMinder/lib/ZoneMinder
|
@ -195,8 +195,8 @@ sub GenerateVideo {
|
||||||
$frame_rate = $fps;
|
$frame_rate = $fps;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $width = $self->{MonitorWidth};
|
my $width = $self->{Width};
|
||||||
my $height = $self->{MonitorHeight};
|
my $height = $self->{Height};
|
||||||
my $video_size = " ${width}x${height}";
|
my $video_size = " ${width}x${height}";
|
||||||
|
|
||||||
if ( $scale ) {
|
if ( $scale ) {
|
||||||
|
|
|
@ -197,8 +197,6 @@ my $sql = " SELECT (SELECT max(Delta) FROM Frames WHERE EventId=Events.Id)-(SELE
|
||||||
Events.*,
|
Events.*,
|
||||||
unix_timestamp(Events.StartTime) as Time,
|
unix_timestamp(Events.StartTime) as Time,
|
||||||
M.Name as MonitorName,
|
M.Name as MonitorName,
|
||||||
M.Width as MonitorWidth,
|
|
||||||
M.Height as MonitorHeight,
|
|
||||||
M.Palette
|
M.Palette
|
||||||
FROM Events
|
FROM Events
|
||||||
INNER JOIN Monitors as M on Events.MonitorId = M.Id
|
INNER JOIN Monitors as M on Events.MonitorId = M.Id
|
||||||
|
|
Loading…
Reference in New Issue