aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderVP8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'videocodec/OMXVideoDecoderVP8.cpp')
-rw-r--r--videocodec/OMXVideoDecoderVP8.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderVP8.cpp b/videocodec/OMXVideoDecoderVP8.cpp
index db50a42..16343a8 100644
--- a/videocodec/OMXVideoDecoderVP8.cpp
+++ b/videocodec/OMXVideoDecoderVP8.cpp
@@ -121,6 +121,14 @@ OMX_COLOR_FORMATTYPE OMXVideoDecoderVP8::GetOutputColorFormat(int width, int hei
#endif
}
+OMX_ERRORTYPE OMXVideoDecoderVP8::SetMaxOutputBufferCount(OMX_PARAM_PORTDEFINITIONTYPE *p) {
+ OMX_ERRORTYPE ret;
+ CHECK_TYPE_HEADER(p);
+ CHECK_PORT_INDEX(p, OUTPORT_INDEX);
+
+ p->nBufferCountActual = OUTPORT_NATIVE_BUFFER_COUNT;
+ return OMXVideoDecoderBase::SetMaxOutputBufferCount(p);
+}
DECLARE_OMX_COMPONENT("OMX.Intel.VideoDecoder.VP8", "video_decoder.vp8", OMXVideoDecoderVP8);