Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammedzakikochargi committed Jun 14, 2024
1 parent db23ee7 commit 7dc1a7e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions base/src/MultimediaQueueXform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ bool MultimediaQueueXform::handleCommand(Command::CommandType type, frame_sp& fr
{
break;
}
else //(!mState->queueObject->mQueue.empty())
else
{
auto lastItr = mState->queueObject->mQueue.end();
lastItr--;
Expand Down Expand Up @@ -956,7 +956,6 @@ bool MultimediaQueueXform::process(frame_container& frames)
initDone = true;
}

//LOG_ERROR << "multimediaQueueSize = " << queueSize;
frame_container outFrames;
auto outputId = Module::getOutputPinIdByType(FrameMetadata::RAW_IMAGE_PLANAR);

Expand Down Expand Up @@ -1000,7 +999,7 @@ bool MultimediaQueueXform::process(frame_container& frames)
{
break;
}
else //(!mState->queueObject->mQueue.empty())
else
{
it++;
}
Expand All @@ -1014,7 +1013,7 @@ bool MultimediaQueueXform::process(frame_container& frames)
break;
}
}
if (it == mState->queueObject->mQueue.begin()) // || it == mState->queueObject->mQueue.end()
if (it == mState->queueObject->mQueue.begin())
{
if (mState->Type != State::IDLE)
{
Expand All @@ -1038,8 +1037,7 @@ bool MultimediaQueueXform::process(frame_container& frames)
{
uint64_t tOld, tNew = 0;
getQueueBoundaryTS(tOld, tNew);
if (queryEndTime > tNew)
;
if (queryEndTime > tNew);
{
reset = false;
}
Expand Down

0 comments on commit 7dc1a7e

Please sign in to comment.