Use tizen allocator for decoder output port 12/224712/2 tizen_gst_1.16.2
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 12 Feb 2020 10:56:31 +0000 (19:56 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 13 Feb 2020 01:13:11 +0000 (10:13 +0900)
[Version] 1.16.2-1
[Profile] Common
[Issue Type] Update

Change-Id: Ia909b9ce23bc5fb1d8910c34cd91b0d932a36e4b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
omx/gstomxvideodec.c
packaging/gst-omx.spec

index 3cbd6bd..6d3f660 100644 (file)
@@ -944,8 +944,12 @@ gst_omx_video_dec_allocate_output_buffers (GstOMXVideoDec * self)
   if (caps)
     self->out_port_pool =
         gst_omx_buffer_pool_new (GST_ELEMENT_CAST (self), self->dec, port,
+#ifdef TIZEN_FEATURE_OMX
+        GST_OMX_BUFFER_MODE_TBM);
+#else
         self->dmabuf ? GST_OMX_BUFFER_MODE_DMABUF :
         GST_OMX_BUFFER_MODE_SYSTEM_MEMORY);
+#endif
 
 #if defined (HAVE_GST_GL)
   if (eglimage) {
index 4055ba8..d839292 100755 (executable)
@@ -1,7 +1,7 @@
 Name:           gst-omx
 Summary:        GStreamer plug-in that allows communication with OpenMAX IL components
 Version:        1.16.2
-Release:        0
+Release:        1
 License:        LGPL-2.1+
 Group:          Multimedia/Framework
 Source0:        %{name}-%{version}.tar.gz