File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
4
4
#define AVTRANSCODER_VERSION_MAJOR 0
5
5
#define AVTRANSCODER_VERSION_MINOR 15
6
- #define AVTRANSCODER_VERSION_MICRO 3
6
+ #define AVTRANSCODER_VERSION_MICRO 4
7
7
8
8
#include < AvTranscoder/system.hpp>
9
9
Original file line number Diff line number Diff line change @@ -751,6 +751,12 @@ IOutputStream::EWrappingStatus StreamTranscoder::processTranscode()
751
751
_transformedData->allocateData ();
752
752
}
753
753
}
754
+ else if (_filterGraph->hasFilters ())
755
+ {
756
+ LOG_DEBUG (" Free filtered data" ) // filled from filter graph sink
757
+ av_frame_unref (&_filteredData->getAVFrame ());
758
+ _filteredData->freeData ();
759
+ }
754
760
755
761
// Check decoding status
756
762
bool continueProcess = true ;
@@ -805,12 +811,6 @@ IOutputStream::EWrappingStatus StreamTranscoder::processTranscode()
805
811
LOG_DEBUG (" Encode" )
806
812
_outputEncoder->encodeFrame (*_transformedData, data);
807
813
808
- if (_filterGraph->hasFilters ())
809
- {
810
- LOG_DEBUG (" Free filtered data" ) // filled from filter graph sink
811
- av_frame_unref (&_filteredData->getAVFrame ());
812
- _filteredData->freeData ();
813
- }
814
814
}
815
815
else
816
816
{
You can’t perform that action at this time.
0 commit comments