Skip to content

Commit

Permalink
increase in buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 29, 2024
1 parent be61dad commit 906656a
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

// Video deocode demo using OpenMAX IL though the ilcient helper library

#include "nalu/KeyFrameFinder.hpp"

static KeyFrameFinder m_keyframe_finder{};
//#include "nalu/parse_x20_util.h"
//#include "time_util.h"

extern "C" {
#include <stdio.h>
Expand Down Expand Up @@ -180,7 +179,7 @@ static int video_decode_test(FILE* in,bool insert_eof) {
OMX_PARAM_PORTDEFINITIONTYPE portdef;
OMX_INIT_STRUCTURE(portdef);
portdef.nPortIndex = 130;
portdef.nBufferSize = 1024*200;
portdef.nBufferSize = 1024*1024*5;
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 906656a

Please sign in to comment.