]> sjero.net Git - linphone/commitdiff
Add display_filter_auto_rotate paramter to linphonerc
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@linphone.org>
Wed, 14 Mar 2012 15:25:53 +0000 (16:25 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@linphone.org>
Thu, 22 Mar 2012 16:26:41 +0000 (17:26 +0100)
Conflicts:

mediastreamer2

coreapi/linphonecall.c
mediastreamer2

index bb68bf03e920c298fcc94979976264a8200884ac..82d4e5098f3c41324fa66258d8bfacd4cbffe001 100644 (file)
@@ -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){
                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)
                video_stream_set_display_filter_name(call->videostream,lc->video_conf.displaytype);
        video_stream_set_event_callback(call->videostream,video_stream_event_cb, call);
index 0481d7d11e445bf04b095f4adc6d3b76f9e86ee2..d1e3505352c469f91333f65e43cda48560b26a91 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 0481d7d11e445bf04b095f4adc6d3b76f9e86ee2
+Subproject commit d1e3505352c469f91333f65e43cda48560b26a91