aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderWMV.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'videocodec/OMXVideoDecoderWMV.cpp')
-rw-r--r--videocodec/OMXVideoDecoderWMV.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderWMV.cpp b/videocodec/OMXVideoDecoderWMV.cpp
index 78274f8..f2e1e6b 100644
--- a/videocodec/OMXVideoDecoderWMV.cpp
+++ b/videocodec/OMXVideoDecoderWMV.cpp
@@ -115,4 +115,12 @@ OMX_COLOR_FORMATTYPE OMXVideoDecoderWMV::GetOutputColorFormat(int width, int hei
#endif
}
+OMX_ERRORTYPE OMXVideoDecoderWMV::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.WMV", "video_decoder.wmv", OMXVideoDecoderWMV);