Skip to content

Commit ec6b1de

Browse files
author
Clement Champetier
committed
common: load filters when preloadCodecsAndFormats
Rename the function?
1 parent 4b7dc83 commit ec6b1de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AvTranscoder/common.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
extern "C" {
44
#include <libavformat/avformat.h>
5+
#include <libavfilter/avfilter.h>
56
#include <libavutil/error.h>
67
}
78

@@ -15,6 +16,7 @@ namespace avtranscoder
1516
void preloadCodecsAndFormats()
1617
{
1718
av_register_all();
19+
avfilter_register_all();
1820
}
1921

2022
std::string getDescriptionFromErrorCode( const int code )

0 commit comments

Comments
 (0)