diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-12-27 00:21:02 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-12-27 00:21:02 +0000 |
commit | bda73977fa6fabfad9cb193e13e2e9754e281f99 (patch) | |
tree | 3d80310a33ac0e25d045106348b576cfe8fa2061 /channels/console_video.h | |
parent | 4fe5e46cc3e710d8858aae5add2d9498d937c159 (diff) |
Enable building the code even if SDL is not present (similarly,
SDL is also detected at runtime).
Now we should be able to stream video even without a rendering device
(useful for remote monitoring).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/console_video.h')
-rw-r--r-- | channels/console_video.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/channels/console_video.h b/channels/console_video.h index 330e179ba..d370679a8 100644 --- a/channels/console_video.h +++ b/channels/console_video.h @@ -23,7 +23,7 @@ #ifndef CONSOLE_VIDEO_H #define CONSOLE_VIDEO_H -#if !defined(HAVE_VIDEO_CONSOLE) || !defined(HAVE_FFMPEG) || !defined(HAVE_SDL) +#if !defined(HAVE_VIDEO_CONSOLE) || !defined(HAVE_FFMPEG) #define CONSOLE_VIDEO_CMDS \ "console {device}" #else @@ -37,16 +37,6 @@ #include <ffmpeg/swscale.h> /* requires a recent ffmpeg */ #endif -#include <SDL/SDL.h> -#ifdef HAVE_SDL_IMAGE -#include <SDL/SDL_image.h> /* for loading images */ -#endif -#ifdef HAVE_SDL_TTF -#include <SDL/SDL_ttf.h> /* render text on sdl surfaces */ -#endif - - - #define CONSOLE_VIDEO_CMDS \ "console {videodevice|videocodec|sendvideo" \ "|video_size|bitrate|fps|qmin" \ |