mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-20 01:50:24 -05:00
schema version 6 with pixel aspect ratio
This makes anamorphic sub streams display correctly, even ones from old Hikvision cameras that don't properly set the aspect ratio at the H.264 layer.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// vim: set et sw=2 ts=2:
|
||||
//
|
||||
// This file is part of Moonfire NVR, a security camera network video recorder.
|
||||
// Copyright (C) 2018 The Moonfire NVR Authors
|
||||
// Copyright (C) 2018-2020 The Moonfire NVR Authors
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
@@ -79,6 +79,12 @@ export default class Recording {
|
||||
|
||||
/** @const {!number} */
|
||||
this.videoSampleEntryHeight = videoSampleEntryJson.height;
|
||||
|
||||
/** @const {!number} */
|
||||
this.videoSampleEntryPaspHSpacing = videoSampleEntryJson.paspHSpacing;
|
||||
|
||||
/** @const {!number} */
|
||||
this.videoSampleEntryPaspVSpacing = videoSampleEntryJson.paspVSpacing;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user