Skip to content

Commit 5387b95

Browse files
author
Valentin Noel
committed
OutputFile: add getter for format context
1 parent 804ac76 commit 5387b95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AvTranscoder/file/OutputFile.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ class AvExport OutputFile
108108
virtual void addMetadata( const std::string& key, const std::string& value );
109109

110110
virtual void setVerbose( bool verbose = false ){ _verbose = verbose; }
111+
112+
AVFormatContext& getFormatContext() { return *_formatContext; }
111113

112114
private:
113115
std::vector<AvOutputStream*> _outputStreams;

0 commit comments

Comments
 (0)