Missing braces!

This commit is contained in:
Xavi Artigas 2012-10-19 15:38:12 +02:00
parent a35d1f390c
commit b0e6a3ba73

View file

@ -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);