summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pjmedia/src/pjmedia-videodev/sdl_dev.c3
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);