From 111443b10c8559698f38213a0150868890a2a02c Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Tue, 10 Apr 2012 12:27:25 +0000 Subject: 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 --- pjmedia/src/pjmedia-videodev/sdl_dev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pjmedia/src/pjmedia-videodev') 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); -- cgit v1.2.3