Skip to content

Commit 756323c

Browse files
author
Sahil Sachdeva
committed
1850579 Fix the valgrind errors reported when running Simulator
1 parent 108dd51 commit 756323c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

nodes/pvomxbasedecnode/src/pvmf_omx_basedec_node.cpp

+11
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ OSCL_EXPORT_REF PVMFOMXBaseDecNode::PVMFOMXBaseDecNode(int32 aPriority, const ch
559559
// init to some value
560560
iOMXComponentOutputBufferSize = 0;
561561
iNumOutputBuffers = 0;
562+
iNumOutstandingOutputBuffers = 0;
562563
iOMXComponentInputBufferSize = 0;
563564
iNumInputBuffers = 0;
564565

@@ -574,6 +575,16 @@ OSCL_EXPORT_REF PVMFOMXBaseDecNode::PVMFOMXBaseDecNode(int32 aPriority, const ch
574575
iPauseCommandWasSentToComponent = false;
575576
iStopCommandWasSentToComponent = false;
576577

578+
// capability related, set to default values
579+
iOMXComponentSupportsExternalOutputBufferAlloc = false;
580+
iOMXComponentSupportsExternalInputBufferAlloc = false;
581+
iOMXComponentSupportsMovableInputBuffers = false;
582+
iIsOMXComponentMultiThreaded = true;
583+
iOMXComponentSupportsPartialFrames = false;
584+
iOMXComponentUsesNALStartCodes = true;
585+
iOMXComponentUsesFullAVCFrames = false;
586+
iOMXComponentCanHandleIncompleteFrames = true;
587+
577588
// EOS flag init
578589
iIsEOSSentToComponent = false;
579590
iIsEOSReceivedFromComponent = false;

0 commit comments

Comments
 (0)