From b0e6a3ba732eed3909df40ffef41740fa27e0a5a Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Fri, 19 Oct 2012 15:38:12 +0200 Subject: [PATCH] Missing braces! --- gst-sdk/tutorials/android-tutorial-3/jni/tutorial-3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 207de0e884..c16b297377 100644 --- a/gst-sdk/tutorials/android-tutorial-3/jni/tutorial-3.c +++ b/gst-sdk/tutorials/android-tutorial-3/jni/tutorial-3.c @@ -311,9 +311,10 @@ static void gst_native_surface_init (JNIEnv *env, jobject thiz, jobject surface) ANativeWindow_release (data->native_window); if (data->native_window == new_native_window) { GST_DEBUG ("New native window is the same as the previous one", data->native_window); - if (data->video_sink) + 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);