-
Notifications
You must be signed in to change notification settings - Fork 36
Remove Baresip and libre, revert changes in H264Decoder and NvTransform specific to NVR and fix a memory leak in nvcodec decoder #389
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: main
Are you sure you want to change the base?
Conversation
yashrajsapra
left a comment
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.
Look's good to me
| ${OpenCV_INCLUDE_DIRS} | ||
| ${Boost_INCLUDE_DIRS} | ||
| ${LIBMP4_INC_DIR} | ||
| ${BARESIP_INC_DIR} |
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.
Lets keep an option open to build with baresip if required
| //mShouldTriggerSOS = true; | ||
| auto frame = frame_sp(new EmptyFrame()); | ||
| mDetail->compute(frame->data(), frame->size(), frame->timestamp); | ||
| LOG_ERROR << "processes sos " ; |
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.
why is thie log error.
| { | ||
| Module& m = *(modules[0]->controlModule); | ||
| m.myThread = boost::thread(ref(m)); | ||
| Utils::setModuleThreadName(m.myThread, m.getId()); |
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.
a merge with md/controlmodulepipelineFixes is required
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.
not reviewing this file
- Introduced a new documentation file summarizing changes made to the H264 decoder. - Removed dependencies on libre and baresip libraries. - Enhanced resource management with CUDA context cleanup in the decoder. - Improved output bitstream handling and added missing return values in utility functions. - Enabled EOS processing and metadata reset in relevant modules. - Updated thread management for control modules. These changes focus on cleaning up dependencies, improving resource management, and enhancing overall code quality.
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #[Issue]
Description
Summary
Remove Baresip and Libre dependencies
Revert changes in H264Decoder and NvTransform (specific to NVR)
H264DecoderandNvTransformcomponents.Fix memory leak in nvcodec decoder
nvcodecdecoder.Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Type Choose one: (Bug fix)
Screenshots (if applicable)
Checklist