Re #1182:
 - Added remote frame-rate detection in to video stream.
 - Fixed bitrate settings in ffmpeg codec.
 - Fixed SDL dev to update internal SDL info when format changed.
 - Minor fixes/updates, e.g:
   - added cleanup steps, fixed logs, etc, in sample app simpleua.c and vid_streamutil.c
   - fixed/added docs of the new APIs in the jitter buffer.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3435 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjmedia/src/pjmedia-videodev/sdl_dev.c b/pjmedia/src/pjmedia-videodev/sdl_dev.c
index ac8c7db..b40decc 100644
--- a/pjmedia/src/pjmedia-videodev/sdl_dev.c
+++ b/pjmedia/src/pjmedia-videodev/sdl_dev.c
@@ -447,6 +447,9 @@
                     if (strm->overlay)
                         SDL_FreeYUVOverlay(strm->overlay);
 
+		    /* Update SDL info for the new format */
+		    sdl_info = get_sdl_format_info(fmt->id);
+
                     if (vfi->color_model == PJMEDIA_COLOR_MODEL_RGB) {
                         strm->surf = SDL_CreateRGBSurface(SDL_SWSURFACE,
                                                           strm->rect.w,