Commit d179ab7f authored by smorlat's avatar smorlat

fix non-video build.



git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@254 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 91d17b15
......@@ -2041,9 +2041,11 @@ bool_t linphone_core_video_preview_enabled(const LinphoneCore *lc){
void linphone_core_enable_self_view(LinphoneCore *lc, bool_t val){
lc->video_conf.selfview=val;
#ifdef VIDEO_ENABLED
if (lc->videostream){
video_stream_enable_self_view(lc->videostream,val);
}
#endif
}
bool_t linphone_core_self_view_enabled(const LinphoneCore *lc){
......@@ -2072,10 +2074,12 @@ const char *linphone_core_get_video_device(const LinphoneCore *lc){
}
unsigned long linphone_core_get_native_video_window_id(const LinphoneCore *lc){
#ifdef VIDEO_ENABLED
if (lc->videostream)
return video_stream_get_native_window_id(lc->videostream);
if (lc->previewstream)
return video_stream_get_native_window_id(lc->previewstream);
#endif
return 0;
}
......
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