This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

6467,视频显示参数设置



你好。目前我的开发包位:dvsdk_3_10_00_19,设置/sys/class/davinci_display/ch0/output错误,源码如下:

#define OUTNAME "Component"
#define OUTPUTPATH "/sys/class/davinci_display/ch0/output"

strcpy(command, "echo ");
strcat(command, OUTNAME);
strcat(command, " > ");
strcat(command, OUTPUTPATH);
if(system(command)) {
printf("Cannot set the output\n");
return -1;
}

程序运行到system,总是报错,不知道为什么不能设置Output参数