Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix filter memory leak#323

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
valnoel merged 2 commits intodevelopfromfix/filters_memory_leak
Feb 1, 2021
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionsrc/AvTranscoder/common.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@

#define AVTRANSCODER_VERSION_MAJOR 0
#define AVTRANSCODER_VERSION_MINOR 15
#define AVTRANSCODER_VERSION_MICRO3
#define AVTRANSCODER_VERSION_MICRO4

#include <AvTranscoder/system.hpp>

Expand Down
12 changes: 6 additions & 6 deletionssrc/AvTranscoder/transcoder/StreamTranscoder.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -751,6 +751,12 @@ IOutputStream::EWrappingStatus StreamTranscoder::processTranscode()
_transformedData->allocateData();
}
}
else if(_filterGraph->hasFilters())
{
LOG_DEBUG("Free filtered data") // filled from filter graph sink
av_frame_unref(&_filteredData->getAVFrame());
_filteredData->freeData();
}

// Check decoding status
bool continueProcess = true;
Expand DownExpand Up@@ -805,12 +811,6 @@ IOutputStream::EWrappingStatus StreamTranscoder::processTranscode()
LOG_DEBUG("Encode")
_outputEncoder->encodeFrame(*_transformedData, data);

if(_filterGraph->hasFilters())
{
LOG_DEBUG("Free filtered data") // filled from filter graph sink
av_frame_unref(&_filteredData->getAVFrame());
_filteredData->freeData();
}
}
else
{
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp