Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
The InputRotationType was not properly initialized before using it in…
Browse files Browse the repository at this point in the history
… a call to OMX_SetParameter.
  • Loading branch information
theandi666 committed Oct 29, 2009
1 parent bf26618 commit cd95835
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodes/pvomxencnode/src/pvmf_omx_enc_node.cpp
Expand Up @@ -2445,6 +2445,7 @@ bool PVMFOMXEncNode::NegotiateVideoComponentParameters()
PVLOGGER_LOGMSG(PVLOGMSG_INST_LLDBG, iLogger, PVLOGMSG_STACK_TRACE,
(0, "PVMFOMXEncNode-%s::NegotiateVideoComponentParameters() Outport buffers %d size %d", iNodeTypeId, iNumOutputBuffers, iOMXComponentOutputBufferSize));

CONFIG_SIZE_AND_VERSION(InputRotationType);
InputRotationType.nPortIndex = iInputPortIndex;
Err = OMX_GetParameter(iOMXEncoder, OMX_IndexConfigCommonRotate, &InputRotationType);
if (Err != OMX_ErrorNone)
Expand Down

0 comments on commit cd95835

Please sign in to comment.