Commit 1628b67a authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix build without video.

parent 3bd80622
......@@ -254,7 +254,6 @@ static int managers_ref=0;
void ms_factory_init_voip(MSFactory *obj){
MSSndCardManager *cm;
MSVideoPresetsManager *vpm;
int i;
/* register builtin VoIP MSFilter's */
......@@ -287,8 +286,10 @@ void ms_factory_init_voip(MSFactory *obj){
}
#ifdef VIDEO_ENABLED
vpm = ms_video_presets_manager_new(obj);
register_video_preset_high_fps(vpm);
{
MSVideoPresetsManager *vpm = ms_video_presets_manager_new(obj);
register_video_preset_high_fps(vpm);
}
#endif
#if defined(VIDEO_ENABLED) && defined(MS2_FILTERS) && !defined(NO_FFMPEG) && defined(HAVE_LIBAVCODEC_AVCODEC_H)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment