diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/video/omx_video_decode_engine.cc | 2 |
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. |