Experimental sound

This commit is contained in:
MrDave
2021-01-10 17:59:03 -07:00
committed by Mr-Dave
parent f0b1e13495
commit 52a4755be1
5 changed files with 274 additions and 204 deletions

View File

@@ -532,17 +532,18 @@ void mythreadname_get(char *threadname)
int mycheck_passthrough(struct ctx_cam *cam)
{
#if (MYFFVER < 55000)
if (cam->movie_passthrough)
#if (MYFFVER >= 57041)
if (cam->movie_passthrough) {
return true;
} else {
return false;
}
#else
if (cam->movie_passthrough) {
MOTION_LOG(INF, TYPE_NETCAM, NO_ERRNO
,_("FFMPEG version too old. Disabling pass-through processing."));
return 0;
#else
if (cam->movie_passthrough){
return 1;
} else {
return 0;
}
return 0;
#endif
}