diff options
author | Liong Sauw Ming <ming@teluu.com> | 2012-04-10 12:27:25 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2012-04-10 12:27:25 +0000 |
commit | 111443b10c8559698f38213a0150868890a2a02c (patch) | |
tree | a1d8e9d3b233a410d3aa9e33752e715346280c53 /pjmedia/src/pjmedia-videodev | |
parent | 7710fc25a86323c8e9ecc6d71639971f9ee2cf70 (diff) |
Re #1446 (misc): Create SDL window in the requested position if PJMEDIA_VID_DEV_CAP_OUTPUT_POSITION is specified (fixed unused vars in the prev revision).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4036 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/pjmedia-videodev')
-rw-r--r-- | pjmedia/src/pjmedia-videodev/sdl_dev.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pjmedia/src/pjmedia-videodev/sdl_dev.c b/pjmedia/src/pjmedia-videodev/sdl_dev.c index 78b520ed..58dabe83 100644 --- a/pjmedia/src/pjmedia-videodev/sdl_dev.c +++ b/pjmedia/src/pjmedia-videodev/sdl_dev.c @@ -744,8 +744,7 @@ static pj_status_t sdl_create_rend(struct sdl_stream * strm, /* Create the window where we will draw. */ strm->window = SDL_CreateWindow("pjmedia-SDL video", - SDL_WINDOWPOS_CENTERED, - SDL_WINDOWPOS_CENTERED, + x, y, strm->param.disp_size.w, strm->param.disp_size.h, flags); |