summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2015-04-29 16:40:52 +0200
committerThomas Reufer <thomas@reufer.ch>2015-04-29 16:40:52 +0200
commite3d46f903ea0dc85539368a104d4b20719bbd04f (patch)
treef5e4bd2f17ea4bef34722ad2326f38b02068d68a
parentf2ec0fac7c829d1a7b6bfafe7db712dbb801e282 (diff)
downloadvdr-plugin-rpihddevice-e3d46f903ea0dc85539368a104d4b20719bbd04f.tar.gz
vdr-plugin-rpihddevice-e3d46f903ea0dc85539368a104d4b20719bbd04f.tar.bz2
fixed typo
-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)