From f01716b8b422c080b306fd95fb3720d21ae553dc Mon Sep 17 00:00:00 2001 From: "hclam@chromium.org" Date: Mon, 27 Sep 2010 17:28:28 +0000 Subject: Initialize OpenMAX with a different number of input buffers Submitted for: andr2000@gmail.com Reviewed: http://codereview.chromium.org/3475001 BUG=None TEST=OpenMAX can initialize. Review URL: http://codereview.chromium.org/3470012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60665 0039d316-1c4b-4281-b951-d872f2087c98 --- media/video/omx_video_decode_engine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media') diff --git a/media/video/omx_video_decode_engine.cc b/media/video/omx_video_decode_engine.cc index 0df0f1e..fc4ad3c6 100644 --- a/media/video/omx_video_decode_engine.cc +++ b/media/video/omx_video_decode_engine.cc @@ -515,7 +515,7 @@ bool OmxVideoDecodeEngine::CreateComponent() { client_state_ = kClientError; return false; } - input_buffer_count_ = port_format.nBufferCountMin; + input_buffer_count_ = port_format.nBufferCountActual; input_buffer_size_ = port_format.nBufferSize; // 8. Obtain the information about the output port. -- cgit v1.1