mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-29 06:36:22 +00:00
Add display_filter_auto_rotate paramter to linphonerc
Conflicts: mediastreamer2
This commit is contained in:
parent
0a21e2c322
commit
a43d75d8a3
2 changed files with 2 additions and 1 deletions
|
|
@ -899,6 +899,7 @@ void linphone_call_init_media_streams(LinphoneCall *call){
|
||||||
|
|
||||||
if ((lc->video_conf.display || lc->video_conf.capture) && md->streams[1].port>0){
|
if ((lc->video_conf.display || lc->video_conf.capture) && md->streams[1].port>0){
|
||||||
call->videostream=video_stream_new(md->streams[1].port,linphone_core_ipv6_enabled(lc));
|
call->videostream=video_stream_new(md->streams[1].port,linphone_core_ipv6_enabled(lc));
|
||||||
|
video_stream_enable_display_filter_auto_rotate(call->videostream, lp_config_get_int(lc->config,"video","display_filter_auto_rotate",0));
|
||||||
if( lc->video_conf.displaytype != NULL)
|
if( lc->video_conf.displaytype != NULL)
|
||||||
video_stream_set_display_filter_name(call->videostream,lc->video_conf.displaytype);
|
video_stream_set_display_filter_name(call->videostream,lc->video_conf.displaytype);
|
||||||
video_stream_set_event_callback(call->videostream,video_stream_event_cb, call);
|
video_stream_set_event_callback(call->videostream,video_stream_event_cb, call);
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0481d7d11e445bf04b095f4adc6d3b76f9e86ee2
|
Subproject commit d1e3505352c469f91333f65e43cda48560b26a91
|
||||||
Loading…
Add table
Reference in a new issue