summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-27 17:28:28 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-27 17:28:28 +0000
commitf01716b8b422c080b306fd95fb3720d21ae553dc (patch)
treecd8c263580e9d645df172db5af18d21b1f2b509a /media
parent38367dd423fec9028adf49796449126559a7de71 (diff)
downloadchromium_src-f01716b8b422c080b306fd95fb3720d21ae553dc.zip
chromium_src-f01716b8b422c080b306fd95fb3720d21ae553dc.tar.gz
chromium_src-f01716b8b422c080b306fd95fb3720d21ae553dc.tar.bz2
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
Diffstat (limited to 'media')
-rw-r--r--media/video/omx_video_decode_engine.cc2
1 files changed, 1 insertions, 1 deletions
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.