mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
Missing braces!
This commit is contained in:
parent
a35d1f390c
commit
b0e6a3ba73
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue