You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Removing old way to select hardware support
Removing the decode setting makes hardware supported decode break. There must be some hidden dependency on that variable somewhere which might also be responsible for the problems with nVidia on Linux. TODO Remove the dependency
This commit is contained in:
@@ -40,9 +40,13 @@ Settings *Settings::Instance()
|
||||
if (!m_pInstance) {
|
||||
// Create the actual instance of logger only once
|
||||
m_pInstance = new Settings;
|
||||
// REMOVE_HW_OLD
|
||||
// Removing this breaks decode completely
|
||||
// Find bug in libopenshot
|
||||
m_pInstance->HARDWARE_DECODE = false;
|
||||
m_pInstance->HARDWARE_DECODER = 0;
|
||||
m_pInstance->HARDWARE_ENCODE = false;
|
||||
// REMOVE_HW_OLD
|
||||
//m_pInstance->HARDWARE_ENCODE = false;
|
||||
m_pInstance->HIGH_QUALITY_SCALING = false;
|
||||
m_pInstance->MAX_WIDTH = 0;
|
||||
m_pInstance->MAX_HEIGHT = 0;
|
||||
|
||||
Reference in New Issue
Block a user