From e8010b654fe28d448ab224182ca53cda2dcc2703 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Fri, 19 Oct 2012 14:03:35 +0200 Subject: [PATCH] Fix (workaround?, hack?) for expose() having the wrong surface size. --- gst-sdk/tutorials/android-tutorial-3/jni/tutorial-3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-sdk/tutorials/android-tutorial-3/jni/tutorial-3.c b/gst-sdk/tutorials/android-tutorial-3/jni/tutorial-3.c index 6390794e03..207de0e884 100644 --- a/gst-sdk/tutorials/android-tutorial-3/jni/tutorial-3.c +++ b/gst-sdk/tutorials/android-tutorial-3/jni/tutorial-3.c @@ -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);