bool CEGLNativeTypeAmlogic::SetDisplayResolution(const char *resolution) { CStdString mode = resolution; // switch display resolution aml_set_sysfs_str("/sys/class/display/mode", mode.c_str()); SetupVideoScaling(mode.c_str()); return true; }
bool CEGLNativeTypeAmlogic::SetDisplayResolution(const char *resolution) { std::string mode = resolution; // switch display resolution SysfsUtils::SetString("/sys/class/display/mode", mode.c_str()); SetupVideoScaling(mode.c_str()); return true; }