Skip to content

Commit

Permalink
FIX: [amc] freeze when refresh rate changed
Browse files Browse the repository at this point in the history
  • Loading branch information
koying authored and razzeee committed Jul 23, 2016
1 parent 784d55a commit c3d7e9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ CRenderInfo CRendererMediaCodec::GetRenderInfo()
{
CRenderInfo info;
info.formats = m_formats;
info.max_buffer_size = NUM_BUFFERS;
info.optimal_buffer_size = 2;
info.max_buffer_size = 4;
info.optimal_buffer_size = 3;
return info;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ CRenderInfo CRendererMediaCodecSurface::GetRenderInfo()
{
CRenderInfo info;
info.formats = m_formats;
info.max_buffer_size = NUM_BUFFERS;
info.optimal_buffer_size = 2;
info.max_buffer_size = 4;
info.optimal_buffer_size = 3;
return info;
}

Expand Down

0 comments on commit c3d7e9a

Please sign in to comment.