We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfddb81 commit fa914bbCopy full SHA for fa914bb
src/AvTranscoder/CodedStructures/CodedDesc.cpp
@@ -31,6 +31,13 @@ CodedDesc::CodedDesc( const AVCodecID codecId )
31
setCodec( codecId );
32
}
33
34
+CodedDesc::CodedDesc( AVCodec& avCodec, AVCodecContext& avCodecContext )
35
+ : m_codec( &avCodec )
36
+ , m_codecContext( &avCodecContext )
37
+{
38
+
39
+}
40
41
std::string CodedDesc::getCodecName() const
42
{
43
assert( m_codecContext != NULL );
src/AvTranscoder/CodedStructures/CodedDesc.hpp
@@ -16,6 +16,7 @@ class AvExport CodedDesc
16
public:
17
CodedDesc( const std::string& codecName );
18
CodedDesc( const AVCodecID codecId );
19
+ CodedDesc( AVCodec& avCodec, AVCodecContext& avCodecContext );
20
21
virtual ~CodedDesc() {}
22
0 commit comments