Change-Id: I56cec88d7493b584bc7f8056315ddb9279edfad2
Signed-off-by: Andriy Martynets <a.martynets@partner.samsung.com>
bo_num++;
}
- if (video_data->format == MM_PIXEL_FORMAT_I420 ||
- video_data->format == MM_PIXEL_FORMAT_RGBA ||
- video_data->format == MM_PIXEL_FORMAT_ARGB) { /* sw codec */
+ /* In case of Tizen native format used on videosink video_data->internal_buffer
+ * contains reference to the original Gst buffer. Otherwise it is null.
+ * */
+ if (!video_data->internal_buffer) { /* sw codec */
#define NUM_OF_SW_CODEC_BO 1
tbm_bo bo = NULL;