From 882d9ac8538267da5e2e6f05f08a1ec26ba356b7 Mon Sep 17 00:00:00 2001 From: Sejun Park Date: Tue, 20 Dec 2016 21:05:04 +0900 Subject: [PATCH] Modify conf file for 64bit Change-Id: I84020b6230c77234e050b9458cb5ec0ffedadcf3 --- config/exynos64/gstomx.conf | 18 ++++++++++-------- omx/gstomxvideodec.c | 3 ++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/config/exynos64/gstomx.conf b/config/exynos64/gstomx.conf index f276db0..44b3c63 100755 --- a/config/exynos64/gstomx.conf +++ b/config/exynos64/gstomx.conf @@ -5,7 +5,7 @@ component-name=OMX.Exynos.MPEG2.Decoder rank=258 in-port-index=0 out-port-index=1 -hacks=no-component-role +hacks=no-component-role;no-disable-outport;no-component-reconfigure [omxdec_mpeg4] type-name=GstOMXMPEG4VideoDec @@ -14,7 +14,7 @@ component-name=OMX.Exynos.MPEG4.Decoder rank=258 in-port-index=0 out-port-index=1 -hacks=no-component-role +hacks=no-component-role;no-disable-outport;no-component-reconfigure [omxdec_h263] type-name=GstOMXH263Dec @@ -23,7 +23,7 @@ component-name=OMX.Exynos.H263.Decoder rank=258 in-port-index=0 out-port-index=1 -hacks=no-component-role +hacks=no-component-role;no-disable-outport;no-component-reconfigure [omxdec_h264] type-name=GstOMXH264Dec @@ -32,7 +32,7 @@ component-name=OMX.Exynos.AVC.Decoder rank=258 in-port-index=0 out-port-index=1 -hacks=no-component-role +hacks=no-component-role;no-disable-outport;no-component-reconfigure [omxdec_vc1] type-name=GstOMXWMVDec @@ -41,7 +41,7 @@ component-name=OMX.Exynos.WMV.Decoder rank=256 in-port-index=0 out-port-index=1 -hacks=no-component-role +hacks=no-component-role;no-disable-outport sink-template-caps=video/x-wmv,wmvversion=(int)3,format=(string){WMV3,WVC1},width=(int)[1,MAX],height=(int)[1,MAX] [omxenc_h264] @@ -51,7 +51,9 @@ component-name=OMX.Exynos.AVC.Encoder rank=258 in-port-index=0 out-port-index=1 -hacks=no-component-role +hacks=no-disable-outport;no-component-role +sink-template-caps=video/x-raw, format=(string)SN12, width=(int) [1,1920], height=(int) [1,1080], framerate=(fraction)[0/1, MAX] +src-template-caps=video/x-h264, width=(int) [1,1920], height=(int) [1,1080], framerate=(fraction) [0/1, MAX], alignment=(string) au, stream-format = (string){ avc, byte-stream } [omxenc_mpeg4] type-name=GstOMXMPEG4VideoEnc @@ -60,7 +62,7 @@ component-name=OMX.Exynos.MPEG4.Encoder rank=258 in-port-index=0 out-port-index=1 -hacks=no-component-role +hacks=no-component-role;no-disable-outport [omxenc_h263] type-name=GstOMXH263Enc @@ -69,4 +71,4 @@ component-name=OMX.Exynos.H263.Encoder rank=258 in-port-index=0 out-port-index=1 -hacks=no-component-role +hacks=no-component-role;no-disable-outport diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index 96da10b..a12315d 100755 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -610,7 +610,7 @@ gst_omx_video_dec_fill_buffer (GstOMXVideoDec * self, g_assert_not_reached (); break; } - +#if 0 src = inbuf->omx_buf->pBuffer + inbuf->omx_buf->nOffset; for (p = 0; p < GST_VIDEO_INFO_N_PLANES (vinfo); p++) { const guint8 *data; @@ -626,6 +626,7 @@ gst_omx_video_dec_fill_buffer (GstOMXVideoDec * self, } src += src_size[p]; } +#endif #ifndef TIZEN_FEATURE_OMX gst_video_frame_unmap (&frame); -- 2.7.4