diff --git a/linphone/mediastreamer2/src/videoout.c b/linphone_modified/mediastreamer2/src/videoout.c index edefdde..f1f7245 100644 --- a/linphone/mediastreamer2/src/videoout.c +++ b/linphone_modified/mediastreamer2/src/videoout.c @@ -131,6 +131,7 @@ static int sdl_create_window(SdlDisplay *wd, int w, int h){ ms_message("planes= %p %p %p %i %i",wd->lay->pixels[0],wd->lay->pixels[1],wd->lay->pixels[2], wd->lay->pixels[1]-wd->lay->pixels[0],wd->lay->pixels[2]-wd->lay->pixels[1]); } + SDL_ShowCursor(0);//Hide the mouse cursor if was displayed return 0; } @@ -253,6 +254,7 @@ static void sdl_display_uninit(MSDisplay *obj){ } #endif sdl_show_window(FALSE); + SDL_Quit(); } MSDisplayDesc ms_sdl_display_desc={ diff --git a/linphone/mediastreamer2/src/videostream.c b/linphone_modified/mediastreamer2/src/videostream.c index 65b800c..2bb6bee 100644 --- a/linphone/mediastreamer2/src/videostream.c +++ b/linphone_modified/mediastreamer2/src/videostream.c @@ -172,7 +172,7 @@ VideoStream *video_stream_new(int locport, bool_t use_ipv6){ } void video_stream_set_sent_video_size(VideoStream *stream, MSVideoSize vsize){ - ms_message("Setting vidoe size %dx%d", vsize.width, vsize.height); + ms_message("Setting video size %dx%d", vsize.width, vsize.height); stream->sent_vsize=vsize; }