add additional api change (should this really be UNI_VERSION_AT_LEAST(0,9,0) ?)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15582 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-11-20 22:16:30 +00:00
parent fa2c24212a
commit 8b0d96a23b

View File

@ -3510,7 +3510,11 @@ static mrcp_client_t *mod_unimrcp_client_create(switch_memory_pool_t *mod_pool)
} }
/* Set up the media engine that will be shared with all profiles */ /* Set up the media engine that will be shared with all profiles */
#if UNI_VERSION_AT_LEAST(0,8,0)
media_engine = mpf_engine_create(1, pool);
#else
media_engine = mpf_engine_create(pool); media_engine = mpf_engine_create(pool);
#endif
if (media_engine) { if (media_engine) {
mrcp_client_media_engine_register(client, media_engine, "MediaEngine"); mrcp_client_media_engine_register(client, media_engine, "MediaEngine");
} }