From: Hyunil Date: Wed, 26 Oct 2016 03:50:39 +0000 (+0900) Subject: waylandsink : (TSAM-9174) fix bug - lock up issue X-Git-Tag: accepted/tizen/unified/20220217.153506~2^2~10^2~9^2~12^2~2^2~170 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c3706cf309a9cd0b2991e5bee1fe83ff0b12cf95;p=platform%2Fupstream%2Fgstreamer.git waylandsink : (TSAM-9174) fix bug - lock up issue Change-Id: I5c4befc8a276d99eb65af08f9e9ef7caa36f7089 Signed-off-by: Hyunil --- diff --git a/ext/wayland/gstwaylandsink.c b/ext/wayland/gstwaylandsink.c index be70542..1b6bf74 100755 --- a/ext/wayland/gstwaylandsink.c +++ b/ext/wayland/gstwaylandsink.c @@ -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 */