-
Notifications
You must be signed in to change notification settings - Fork 5
VPLAY-9810:Add droppedFrames to MonitorAV event #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev_sprint_25_2
Are you sure you want to change the base?
Conversation
std::string sid): | ||
AAMPEventObject(AAMP_EVENT_PROGRESS, std::move(sid)), mDuration(duration), | ||
mPosition(position), mStart(start), | ||
mEnd(end), mSpeed(speed), mPTS(pts), | ||
mBufferedDuration(bufferedDuration), | ||
mVideoBufferedDurationMs(videoBufferedDuration), | ||
mAudioBufferedDurationMs(audioBufferedDuration), | ||
mSEITimecode(seiTimecode), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverity Issue - Variable copied when it could be moved
"seiTimecode" is passed-by-value as parameter to "std::__cxx11::basic_string<char, std::char_traits, std::allocator >::basic_string(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const &)", when it could be moved instead.
Low Impact, CWE-none
COPY_INSTEAD_OF_MOVE
How to fix
Use "std::move(""seiTimecode"")" instead of "seiTimecode".
35aa67d
to
5529e22
Compare
5529e22
to
855077f
Compare
Reason for change:Added audio buffered duration as a part of mediaprogress event and dropped frames as part of monitorav event Risks: Low Test Procedure: Refer jira ticket Priority: P2 Signed-off-by: varshnie [email protected]
855077f
to
c444cd3
Compare
Reason for change:Added audio buffered duration as a part of mediaprogress event and dropped frames as part of monitorav event Risks: Low Test Procedure: Refer jira ticket Priority: P1 Signed-off-by: varshnie [email protected]
732ba02
to
5d5be90
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Coverity Issue - Unchecked return valueCalling "GetCurrentTextTrack" without checking return value (as is done elsewhere 1 out of 1 times). Medium Impact, CWE-252 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Unchecked return valueCalling "GetCurrentAudioTrack" without checking return value (as is done elsewhere 2 out of 2 times). Medium Impact, CWE-252 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Data race conditionAccessing "this->numberOfFragmentChunksCached" without holding lock "MediaTrack.mutex". Elsewhere, "MediaTrack.numberOfFragmentChunksCached" is written to with "MediaTrack.mutex" held 3 out of 3 times (2 of these accesses strongly imply that it is necessary). Medium Impact, CWE-366 Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Coverity Issue - Variable copied when it could be moved"processor" is copied in call to copy assignment for class "std::shared_ptr", when it could be moved instead. Low Impact, CWE-none How to fixUse "std::move(""processor"")" instead of "processor". Issue locationThis issue was discovered outside the diff for this Pull Request. You can find it at: |
Reason for change:Added audio buffered duration as a part of mediaprogress event and dropped frames as part of monitorav event Risks: Low
Test Procedure: Refer jira ticket
Priority: P2
Signed-off-by: varshnie [email protected]