diff options
| author | Thomas Reufer <thomas@reufer.ch> | 2015-02-08 20:43:07 +0100 |
|---|---|---|
| committer | Thomas Reufer <thomas@reufer.ch> | 2015-02-08 20:43:07 +0100 |
| commit | beb7667ab18ee5231f5d0da1c30b02addafae57e (patch) | |
| tree | 790952487f7f2dd06acb2decd657114314223e9e | |
| parent | 57958b2ae5bebdba8648f6b63a69b4a961cdd274 (diff) | |
| download | vdr-plugin-rpihddevice-beb7667ab18ee5231f5d0da1c30b02addafae57e.tar.gz vdr-plugin-rpihddevice-beb7667ab18ee5231f5d0da1c30b02addafae57e.tar.bz2 | |
increased video and audio buffers to 64x 64k (4M) and 128x 16k (2M)
| -rw-r--r-- | omx.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -911,9 +911,9 @@ int cOmx::SetVideoCodec(cVideoCodec::eCodec codec) OMX_IndexParamPortDefinition, ¶m) != OMX_ErrorNone) ELOG("failed to get video decoder port parameters!"); - // default: 20x 81920 bytes + // default: 20x 81920 bytes, now 64x 64k (4M) param.nBufferSize = KILOBYTE(64); - param.nBufferCountActual = 32; + param.nBufferCountActual = 64; m_freeVideoBuffers = true; if (OMX_SetParameter(ILC_GET_HANDLE(m_comp[eVideoDecoder]), @@ -1072,9 +1072,9 @@ int cOmx::SetupAudioRender(cAudioCodec::eCodec outputFormat, int channels, OMX_IndexParamPortDefinition, ¶m) != OMX_ErrorNone) ELOG("failed to get audio render port parameters!"); - // default: 16x 4096 bytes + // default: 16x 4096 bytes, now 128x 16k (2M) param.nBufferSize = KILOBYTE(16); - param.nBufferCountActual = 64; + param.nBufferCountActual = 128; m_freeAudioBuffers = true; if (OMX_SetParameter(ILC_GET_HANDLE(m_comp[eAudioRender]), |
