Skip to content
Snippets Groups Projects
Commit d2132142 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

videomanager: save hardware acceleration config

Change-Id: I00b5cc01709b566af3ffc0c1444ddf5fb6e40ef7
parent 6a34602c
Branches
Tags
No related merge requests found
......@@ -544,6 +544,7 @@ setDecodingAccelerated(bool state)
#ifdef RING_ACCEL
JAMI_DBG("%s hardware acceleration", (state ? "Enabling" : "Disabling"));
jami::Manager::instance().videoPreferences.setDecodingAccelerated(state);
jami::Manager::instance().saveConfig();
#endif
}
......@@ -563,6 +564,7 @@ setEncodingAccelerated(bool state)
#ifdef RING_ACCEL
JAMI_DBG("%s hardware acceleration", (state ? "Enabling" : "Disabling"));
jami::Manager::instance().videoPreferences.setEncodingAccelerated(state);
jami::Manager::instance().saveConfig();
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment