Commit 184cca52 authored by Simon Morlat's avatar Simon Morlat
Browse files

clear X11 window when video size changes.

It will work provided that the window has a background color defined.
parent e3e7cad4
......@@ -184,6 +184,7 @@ static void x11video_prepare(MSFilter *f){
ms_message("x11video_prepare(): Window has size %ix%i, received video is %ix%i",wa.width,wa.height,s->vsize.width,s->vsize.height);
if (wa.width<MS_LAYOUT_MIN_SIZE || wa.height<MS_LAYOUT_MIN_SIZE){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment