Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gamera_videos_no_ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liusq
gamera_videos_no_ui
Commits
6a1e0eae
Commit
6a1e0eae
authored
Feb 20, 2025
by
guof
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-1007583' into 'release'
新增d92e8e4ff3912954走nvr See merge request
!99
parents
f4f380d3
de260eed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
CameraHandle.cpp
+5
-3
No files found.
CameraHandle.cpp
View file @
6a1e0eae
...
...
@@ -217,11 +217,12 @@ int XNetSDK_MediaCallBack(XSDK_HANDLE hMedia, int nDataType, int nDataLen, int n
}
}
}
}
int
CameraHandle
::
sdkDevSetAlarmListener
(
XSDK_HANDLE
hDevice
,
int
bListener
)
{
return
XSDK_DevSetAlarmListener
(
hDevice
,
bListener
);
}
void
CameraHandle
::
setHkDevice
(
bool
hk_status
,
int
hk_Device
){
this
->
hk_Device
=
hk_Device
;
this
->
hk_status
=
hk_status
;
...
...
@@ -230,6 +231,7 @@ void CameraHandle::setHkDevice(bool hk_status,int hk_Device){
int
CameraHandle
::
getChannel
(){
return
channel
;
}
int
CameraHandle
::
getHdevice
()
{
return
hDevice
;
}
...
...
@@ -478,10 +480,10 @@ void CameraHandle::sdkDevSnapSyn(XSDK_HANDLE hDevice, int nChannel){
MediaFaceImage
*
mediaFaceImage
=
MediaFaceImage
::
getInstance
();
qint64
currentTime
=
QDateTime
::
currentSecsSinceEpoch
();
int
ret
=-
1
;
if
(
sSn
!=
"9189806d008ac359"
){
if
(
sSn
!=
"9189806d008ac359"
||
sSn
!=
"d92e8e4ff3912954"
){
ret
=
mediaFaceImage
->
FaceImageCallBack
(
hDevice
,
nChannel
,
image
,
sSn
);
}
if
(
ret
<
0
||
image
.
empty
()
)
{
if
(
ret
<
0
)
{
if
(
!
hk_status
){
if
(
threeConsecutiveImage
())
return
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment