obs-ffmpeg: Separate logging code

Cleans up obs-ffmpeg.c and separates all the logging code to a different
file, which can be enabled with ENABLE_FFMPEG_LOGGING.
This commit is contained in:
jp9000
2019-07-09 08:44:04 -07:00
parent 5b6ee6e66b
commit 617086b040
4 changed files with 184 additions and 122 deletions

View File

@@ -0,0 +1,17 @@
#ifndef ON
#define ON 1
#endif
#ifndef TRUE
#define TRUE 1
#endif
#ifndef OFF
#define OFF 0
#endif
#ifndef FALSE
#define FALSE 0
#endif
#define ENABLE_FFMPEG_LOGGING @ENABLE_FFMPEG_LOGGING@