Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
d2132142
Commit
d2132142
authored
Jul 18, 2019
by
Kateryna Kostiuk
Browse files
videomanager: save hardware acceleration config
Change-Id: I00b5cc01709b566af3ffc0c1444ddf5fb6e40ef7
parent
6a34602c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/client/videomanager.cpp
View file @
d2132142
...
@@ -544,6 +544,7 @@ setDecodingAccelerated(bool state)
...
@@ -544,6 +544,7 @@ setDecodingAccelerated(bool state)
#ifdef RING_ACCEL
#ifdef RING_ACCEL
JAMI_DBG
(
"%s hardware acceleration"
,
(
state
?
"Enabling"
:
"Disabling"
));
JAMI_DBG
(
"%s hardware acceleration"
,
(
state
?
"Enabling"
:
"Disabling"
));
jami
::
Manager
::
instance
().
videoPreferences
.
setDecodingAccelerated
(
state
);
jami
::
Manager
::
instance
().
videoPreferences
.
setDecodingAccelerated
(
state
);
jami
::
Manager
::
instance
().
saveConfig
();
#endif
#endif
}
}
...
@@ -563,6 +564,7 @@ setEncodingAccelerated(bool state)
...
@@ -563,6 +564,7 @@ setEncodingAccelerated(bool state)
#ifdef RING_ACCEL
#ifdef RING_ACCEL
JAMI_DBG
(
"%s hardware acceleration"
,
(
state
?
"Enabling"
:
"Disabling"
));
JAMI_DBG
(
"%s hardware acceleration"
,
(
state
?
"Enabling"
:
"Disabling"
));
jami
::
Manager
::
instance
().
videoPreferences
.
setEncodingAccelerated
(
state
);
jami
::
Manager
::
instance
().
videoPreferences
.
setEncodingAccelerated
(
state
);
jami
::
Manager
::
instance
().
saveConfig
();
#endif
#endif
}
}
...
...
Write
Preview
Supports
Markdown
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