mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
Fix (workaround?, hack?) for expose() having the wrong surface size.
This commit is contained in:
parent
efbde418b2
commit
e8010b654f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue