Capture debug macros off by default
This commit is contained in:
parent
b5bc64aa55
commit
0c6b070761
3 changed files with 5 additions and 3 deletions
|
@ -27,7 +27,7 @@
|
|||
#include "SDL_pixels_c.h"
|
||||
#include "../thread/SDL_systhread.h"
|
||||
|
||||
#define DEBUG_VIDEO_CAPTURE_CAPTURE 1
|
||||
#define DEBUG_VIDEO_CAPTURE_CAPTURE 0
|
||||
|
||||
|
||||
#ifdef SDL_VIDEO_CAPTURE
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "../../core/linux/SDL_udev.h"
|
||||
#include <limits.h> /* INT_MAX */
|
||||
|
||||
#define DEBUG_VIDEO_CAPTURE_CAPTURE 1
|
||||
#define DEBUG_VIDEO_CAPTURE_CAPTURE 0
|
||||
|
||||
#if defined(__linux__) && !defined(__ANDROID__)
|
||||
|
||||
|
@ -692,6 +692,7 @@ GetFrameSize(SDL_VideoCaptureDevice *_this, Uint32 format, int index, int *width
|
|||
|
||||
|
||||
|
||||
#if DEBUG_VIDEO_CAPTURE_CAPTURE
|
||||
static void
|
||||
dbg_v4l2_pixelformat(const char *str, int f) {
|
||||
SDL_Log("%s V4L2_format=%d %c%c%c%c", str, f,
|
||||
|
@ -700,6 +701,7 @@ dbg_v4l2_pixelformat(const char *str, int f) {
|
|||
(f >> 16) & 0xff,
|
||||
(f >> 24) & 0xff);
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
GetDeviceSpec(SDL_VideoCaptureDevice *_this, SDL_VideoCaptureSpec *spec)
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "../SDL_pixels_c.h"
|
||||
#include "../../thread/SDL_systhread.h"
|
||||
|
||||
#define DEBUG_VIDEO_CAPTURE_CAPTURE 1
|
||||
#define DEBUG_VIDEO_CAPTURE_CAPTURE 0
|
||||
|
||||
#if defined(__ANDROID__) && __ANDROID_API__ >= 24
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue