Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
This commit is contained in:
commit
56537893da
|
@ -252,8 +252,6 @@ void Logger::initialise(const std::string &id, const Options &options) {
|
|||
}
|
||||
|
||||
void Logger::terminate() {
|
||||
Debug(1, "Terminating Logger");
|
||||
|
||||
if ( mFileLevel > NOLOG )
|
||||
closeFile();
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -298,6 +298,8 @@ protected:
|
|||
Image ref_image;
|
||||
Image alarm_image; // Used in creating analysis images, will be initialized in Analysis
|
||||
Image write_image; // Used when creating snapshot images
|
||||
std::string diag_path_r;
|
||||
std::string diag_path_d;
|
||||
|
||||
Purpose purpose; // What this monitor has been created to do
|
||||
int event_count;
|
||||
|
|
|
@ -1135,11 +1135,22 @@ int VideoStore::writeAudioFramePacket(AVPacket *ipkt) {
|
|||
}
|
||||
} // end if encoding or copying
|
||||
|
||||
|
||||
opkt.pos = -1;
|
||||
opkt.stream_index = audio_out_stream->index;
|
||||
opkt.flags = ipkt->flags;
|
||||
|
||||
if ( opkt.dts < audio_out_stream->cur_dts ) {
|
||||
Warning("non increasing dts, fixing");
|
||||
opkt.dts = audio_out_stream->cur_dts;
|
||||
if ( opkt.dts > opkt.pts ) {
|
||||
Debug(1,
|
||||
"opkt.dts(%" PRId64 ") must be <= opkt.pts(%" PRId64 ")."
|
||||
"Decompression must happen before presentation.",
|
||||
opkt.dts, opkt.pts);
|
||||
opkt.pts = opkt.dts;
|
||||
}
|
||||
} else if ( opkt.dts > opkt.pts ) {
|
||||
Debug(1,
|
||||
"opkt.dts(%" PRId64 ") must be <= opkt.pts(%" PRId64 ")."
|
||||
"Decompression must happen before presentation.",
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
}
|
||||
|
||||
.ptzControls .controlsPanel .pantiltPanel .pantiltControls .centerBtn {
|
||||
background: url("../skins/classic/graphics/graphics/center.png") no-repeat 0 0;
|
||||
background: url("../skins/classic/graphics/center.png") no-repeat 0 0;
|
||||
}
|
||||
|
||||
.ptzControls .controlsPanel .pantiltPanel .pantiltControls .rightBtn {
|
||||
|
|
Loading…
Reference in New Issue