Change-Id: I5c4befc8a276d99eb65af08f9e9ef7caa36f7089
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
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 */