diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-27 00:21:02 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-27 00:21:02 +0000 |
commit | 3362e1caef747faab26ea586833ef61cfe0f012f (patch) | |
tree | 3d80310a33ac0e25d045106348b576cfe8fa2061 /channels/console_video.h | |
parent | 7a2d5539243e10474f40a0b8c6ba5c5a7821dada (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: http://svn.digium.com/svn/asterisk/trunk@94822 f38db490-d61c-443f-a65b-d21fe96a405b
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" \ |