summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--omx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omx.c b/omx.c
index 90ba7b2..8f1294d 100644
--- a/omx.c
+++ b/omx.c
@@ -246,7 +246,7 @@ void cOmx::GetBufferUsage(int &audio, int &video)
video += m_usedVideoBuffers[i];
}
audio = audio * 100 / BUFFERSTAT_FILTER_SIZE / OMX_AUDIO_BUFFERS;
- video = video * 100 / BUFFERSTAT_FILTER_SIZE / OMX_AUDIO_BUFFERS;
+ video = video * 100 / BUFFERSTAT_FILTER_SIZE / OMX_VIDEO_BUFFERS;
}
void cOmx::HandlePortBufferEmptied(eOmxComponent component)