Skip to content

Commit

Permalink
min 10 buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 29, 2024
1 parent 906656a commit c05d0c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ static int video_decode_test(FILE* in,bool insert_eof) {
OMX_INIT_STRUCTURE(portdef);
portdef.nPortIndex = 130;
portdef.nBufferSize = 1024*1024*5;
portdef.nBufferCountMin=10;
if(OMX_SetParameter(ILC_GET_HANDLE(video_decode), OMX_IndexParamPortDefinition, &portdef) != OMX_ErrorNone){
fprintf(stderr, "Cannot set buffer size\n");
}else{
Expand Down

0 comments on commit c05d0c8

Please sign in to comment.