projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c3d3d
)
Waylandsink : fix bug (Null exception)
10/75910/1
author
Hyunil
<hyunil46.park@samsung.com>
Wed, 22 Jun 2016 06:19:32 +0000
(15:19 +0900)
committer
Hyunil
<hyunil46.park@samsung.com>
Wed, 22 Jun 2016 06:19:32 +0000
(15:19 +0900)
Change-Id: I21763218d0323853acffb2a84854d748da6e794d
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
ext/wayland/gstwaylandsink.c
patch
|
blob
|
history
diff --git
a/ext/wayland/gstwaylandsink.c
b/ext/wayland/gstwaylandsink.c
index a07eb8ea77326f323c1255e438e5f8e9c60ee855..66edd6aafffa843d07049766e3af56441c3dc05b 100755
(executable)
--- a/
ext/wayland/gstwaylandsink.c
+++ b/
ext/wayland/gstwaylandsink.c
@@
-398,7
+398,7
@@
gst_wayland_sink_update_last_buffer_geometry (GstWaylandSink * sink)
GST_DEBUG ("gstbuffer ref count is %d",
GST_OBJECT_REFCOUNT_VALUE (sink->last_buffer));
wlbuffer = gst_buffer_get_wl_buffer (sink->last_buffer);
- if (wlbuffer)
+ g_return_if_fail (wlbuffer != NULL);
wlbuffer->used_by_compositor = FALSE;
/*need to render last buffer, reuse current GstWlBuffer */
render_last_buffer (sink);