bug fix : change return value about null check
authorHyunil <hyunil46.park@samsung.com>
Mon, 20 Mar 2017 05:28:55 +0000 (14:28 +0900)
committerHyunil <hyunil46.park@samsung.com>
Mon, 20 Mar 2017 05:28:55 +0000 (14:28 +0900)
Change-Id: Ieefb0fb0ce4157464de66393b8ddcebd732fefa7
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
ext/wayland/gstwaylandsink.c

index ec3dff5..ae9e59f 100755 (executable)
@@ -561,7 +561,7 @@ gst_wayland_sink_recover_display_window_info (GstWaylandSink * sink)
 static gboolean
 gst_wayland_sink_is_disabled_overlay (GstWaylandSink * sink)
 {
-  g_return_if_fail (sink != NULL);
+  g_return_val_if_fail (sink != NULL, FALSE);
   //Ensure display is null and the display info has been copied by unsetting disable_overlay
   //If using the toplevel window, window is null
   if (!sink->disable_overlay && sink->display) {