Fix (workaround?, hack?) for expose() having the wrong surface size.

This commit is contained in:
Xavi Artigas 2012-10-19 14:03:35 +02:00
parent efbde418b2
commit e8010b654f

View file

@ -313,6 +313,7 @@ static void gst_native_surface_init (JNIEnv *env, jobject thiz, jobject surface)
GST_DEBUG ("New native window is the same as the previous one", data->native_window);
if (data->video_sink)
gst_x_overlay_expose(GST_X_OVERLAY (data->video_sink));
gst_x_overlay_expose(GST_X_OVERLAY (data->video_sink));
return;
} else {
GST_DEBUG ("Released previous native window %p", data->native_window);