Commit 3c05f1e7 authored by Ronan's avatar Ronan
Browse files

add a `linphone_call_ogl_render` to use `MSOGL` ms filter

parent b11a4fc3
......@@ -5060,3 +5060,10 @@ void linphone_call_replace_op(LinphoneCall *call, SalOp *op) {
}
sal_op_release(oldop);
}
void linphone_call_ogl_render(LinphoneCall *call) {
VideoStream *stream = call->videostream;
if (stream && stream->output && ms_filter_get_id(stream->output) == MS_OGL_ID)
ms_filter_call_method(stream->output, MS_VIDEO_DISPLAY_CALL_GENERIC_RENDER, NULL);
}
......@@ -567,6 +567,12 @@ LINPHONE_PUBLIC LinphonePlayer * linphone_call_get_player(LinphoneCall *call);
**/
LINPHONE_PUBLIC bool_t linphone_call_media_in_progress(LinphoneCall *call);
/**
* Call generic OpenGL render for a given call.
* @param call The call.
*/
LINPHONE_PUBLIC void linphone_call_ogl_render(LinphoneCall *call);
/**
* @}
*/
......
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