waylandsink : (TSAM-9174) fix bug - lock up issue
authorHyunil <hyunil46.park@samsung.com>
Wed, 26 Oct 2016 03:50:39 +0000 (12:50 +0900)
committerHyunil <hyunil46.park@samsung.com>
Wed, 26 Oct 2016 03:50:39 +0000 (12:50 +0900)
Change-Id: I5c4befc8a276d99eb65af08f9e9ef7caa36f7089
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
ext/wayland/gstwaylandsink.c

index be70542..1b6bf74 100755 (executable)
@@ -1896,8 +1896,10 @@ gst_wayland_sink_render (GstBaseSink * bsink, GstBuffer * buffer)
 
       if (sink->USE_TBM && sink->display->is_native_format) {
         /* in case of SN12 or ST12 */
-        if (!gst_wayland_sink_get_mm_video_buf_info (sink, buffer))
-          return GST_FLOW_ERROR;
+        if (!gst_wayland_sink_get_mm_video_buf_info (sink, buffer)) {
+          ret = GST_FLOW_ERROR;
+          goto done;
+        }
 
         wlbuffer = gst_buffer_get_wl_buffer (buffer);
         /* last_buffer from gaplasee have wlbuffer */