Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
42a6f783
Unverified
Commit
42a6f783
authored
Jan 20, 2019
by
Gus Grubba
Committed by
GitHub
Jan 20, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7171 from mavlink/taisyncTweaks
Taisync Tweaks
parents
ff43eabe
35ee0cd0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
QGCCameraControl.cc
src/Camera/QGCCameraControl.cc
+10
-7
TaisyncSettings.qml
src/Taisync/TaisyncSettings.qml
+2
-2
No files found.
src/Camera/QGCCameraControl.cc
View file @
42a6f783
...
...
@@ -1928,6 +1928,8 @@ void
QGCCameraControl
::
_checkForVideoStreams
()
{
if
(
_info
.
flags
&
CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM
)
{
//-- Skip it if using Taisync as it has its own video settings
if
(
!
qgcApp
()
->
toolbox
()
->
videoManager
()
->
isTaisync
())
{
connect
(
&
_streamInfoTimer
,
&
QTimer
::
timeout
,
this
,
&
QGCCameraControl
::
_streamTimeout
);
_streamInfoTimer
.
setSingleShot
(
false
);
connect
(
&
_streamStatusTimer
,
&
QTimer
::
timeout
,
this
,
&
QGCCameraControl
::
_streamStatusTimeout
);
...
...
@@ -1936,6 +1938,7 @@ QGCCameraControl::_checkForVideoStreams()
_requestStreamInfo
(
0
);
_streamInfoTimer
.
start
(
2000
);
}
}
}
//-----------------------------------------------------------------------------
...
...
src/Taisync/TaisyncSettings.qml
View file @
42a6f783
...
...
@@ -438,7 +438,7 @@ QGCView {
height
:
ipSettingsLabel
.
height
anchors.margins
:
ScreenTools
.
defaultFontPixelWidth
anchors.horizontalCenter
:
parent
.
horizontalCenter
visible
:
_taisyncEnabled
visible
:
_taisyncEnabled
&&
(
!
ScreenTools
.
isiOS
&&
!
ScreenTools
.
isAndroid
)
QGCLabel
{
id
:
ipSettingsLabel
text
:
qsTr
(
"
Network Settings
"
)
...
...
@@ -449,7 +449,7 @@ QGCView {
height
:
ipSettingsCol
.
height
+
(
ScreenTools
.
defaultFontPixelHeight
*
2
)
width
:
_panelWidth
color
:
qgcPal
.
windowShade
visible
:
_taisyncEnabled
visible
:
_taisyncEnabled
&&
(
!
ScreenTools
.
isiOS
&&
!
ScreenTools
.
isAndroid
)
anchors.margins
:
ScreenTools
.
defaultFontPixelWidth
anchors.horizontalCenter
:
parent
.
horizontalCenter
Column
{
...
...
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