Conflicts:
	libarmbox/video.cpp


Origin commit data
------------------
Branch: master
Commit: d4b841facd
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-05-22 (Tue, 22 May 2018)



------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-05-22 20:54:57 +02:00

View File

@@ -311,6 +311,19 @@ void setAVInput(int val)
}
}
void setAVInput(int val)
{
if (val != 0 && val != 1)
return;
int input_fd = open("/proc/stb/avs/0/input", O_WRONLY);
if(input_fd){
const char *input[] = {"encoder", "aux"};
write(input_fd, input[val], strlen(input[val]));
close(input_fd);
}
}
cVideo::cVideo(int, void *, void *, unsigned int unit)
{
lt_debug("%s unit %u\n", __func__, unit);