Skip to content
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

Fix memory leak in nvmpi_enc, also add more cleanup to nvmipi dec/enc #82

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vietnx
Copy link
Contributor

@vietnx vietnx commented Apr 23, 2021

No description provided.

HunterAP23 added a commit to HunterAP23/jetson-ffmpeg that referenced this pull request May 4, 2021
@wangtingbo
Copy link

@jocover ,I found the same problem,when use nvmpi_enc. I had fixed “nvmpi_encoder_close”,release ctx->packets[index]。

Copy link
Contributor

@GavinDarkglider GavinDarkglider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vietnx Just a thought on this, dpkg is a bad way to get version, much better to pull it from tegra version file in /etc. A lot of distros dont have dpkg, and this will completely break this on them. Also it is really dirty to be running external commands in the background in a lib. Where with a text file, it is open and parse. much faster, and clean. You also dont have to include/wait for extra threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants