SDL, Android Video driver doesn't support changing mode

I am trying to create SDL_Window to display my video file, which is decoded by ffmpeg lib and I have this error
"Video driver doesn’t support changing display mode" on calling SDL_CreateWindow function.
Here is code

Code:
SDL_Window *pWindow1;
if (NULL == (pWindow1 = SDL_CreateWindow( “YUV”, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, codec_context->width, codec_context->height, SDL_WINDOW_SHOWN)))
{
LOGI(“WINDOW IS NULL”);
LOGI(SDL_GetError());
}

I didn’t found any info about this error, can somebody help me and explain why it is so?
I am using SDL 2.0 lib and Android NDK r9. Thanks! :slight_smile:

I can’t edit my message, so I post new one. As I have understand this is because I am trying to create window that is smaller than my display width and height.