Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
3c05f1e7
Commit
3c05f1e7
authored
Jan 31, 2017
by
Ronan
Browse files
add a `linphone_call_ogl_render` to use `MSOGL` ms filter
parent
b11a4fc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
coreapi/linphonecall.c
coreapi/linphonecall.c
+7
-0
include/linphone/call.h
include/linphone/call.h
+6
-0
No files found.
coreapi/linphonecall.c
View file @
3c05f1e7
...
...
@@ -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
);
}
include/linphone/call.h
View file @
3c05f1e7
...
...
@@ -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
);
/**
* @}
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment