Set VIDEO_MAX_FRAME if it is not defined

This commit is contained in:
Andy Bauer 2016-06-06 16:27:13 -05:00
parent 2385575c56
commit 06923d44ba
1 changed files with 5 additions and 0 deletions

View File

@ -105,6 +105,11 @@ protected:
static V4L1Data v4l1_data;
#endif // ZM_HAS_V4L1
// Required on systems with v4l1 but without v4l2 headers
#ifndef VIDEO_MAX_FRAME
#define VIDEO_MAX_FRAME 32
#endif
#if HAVE_LIBSWSCALE
static AVFrame **capturePictures;
_AVPIXELFORMAT imagePixFormat;