Ignore:
Timestamp:
Jan 29, 2014 10:40:40 AM (11 years ago)
Author:
nanang
Message:

Close #1729: Added check of PJMEDIA_HAS_VIDEO (instead of just specific backend check) in video device wrappers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c

    r4535 r4722  
    2222#include <pj/os.h> 
    2323 
    24 #if defined(PJMEDIA_VIDEO_DEV_HAS_SDL) && PJMEDIA_VIDEO_DEV_HAS_SDL != 0 
     24#if defined(PJMEDIA_HAS_VIDEO) && PJMEDIA_HAS_VIDEO != 0 && \ 
     25    defined(PJMEDIA_VIDEO_DEV_HAS_SDL) && PJMEDIA_VIDEO_DEV_HAS_SDL != 0 
     26 
    2527#include <SDL.h> 
    2628#include <SDL_syswm.h> 
Note: See TracChangeset for help on using the changeset viewer.