move VIDEO_MAX_FRAME up
This commit is contained in:
parent
06923d44ba
commit
f289b84901
|
@ -36,6 +36,11 @@
|
||||||
#include <linux/videodev2.h>
|
#include <linux/videodev2.h>
|
||||||
#endif // HAVE_LINUX_VIDEODEV2_H
|
#endif // HAVE_LINUX_VIDEODEV2_H
|
||||||
|
|
||||||
|
// Required on systems with v4l1 but without v4l2 headers
|
||||||
|
#ifndef VIDEO_MAX_FRAME
|
||||||
|
#define VIDEO_MAX_FRAME 32
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "zm_ffmpeg.h"
|
#include "zm_ffmpeg.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -105,11 +110,6 @@ protected:
|
||||||
static V4L1Data v4l1_data;
|
static V4L1Data v4l1_data;
|
||||||
#endif // ZM_HAS_V4L1
|
#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
|
#if HAVE_LIBSWSCALE
|
||||||
static AVFrame **capturePictures;
|
static AVFrame **capturePictures;
|
||||||
_AVPIXELFORMAT imagePixFormat;
|
_AVPIXELFORMAT imagePixFormat;
|
||||||
|
|
Loading…
Reference in New Issue