Change-Id: I9ff2b752532a0d86982f196ff7859a5390afe2bc
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
mm_video_buf->handle.bo[0], mm_video_buf->handle.bo[1],
mm_video_buf->handle.bo[2]);
GST_DEBUG ("Number of TBM bo is %d", mm_video_buf->handle_num);
- if (!mm_video_buf->handle_num) {
+ if (mm_video_buf->handle_num == 0) {
GST_ERROR ("Number of TBM bo is %d", mm_video_buf->handle_num);
+ return NULL;
}
GST_DEBUG ("Number of plane is %d", mm_video_buf->plane_num);
return mm_video_buf;