Skip to content

Commit 65712aa

Browse files
author
Clement Champetier
committed
VideoProperties: added _levelAnalysis private attribute
* To get the level of analysis asked inside member methods. * Will be used in the next commit.
1 parent a3c8209 commit 65712aa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/AvTranscoder/properties/VideoProperties.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace avtranscoder
2020
VideoProperties::VideoProperties(const FormatContext& formatContext, const size_t index, IProgress& progress,
2121
const EAnalyseLevel level)
2222
: StreamProperties(formatContext, index)
23+
, _levelAnalysis(level)
2324
, _pixelProperties()
2425
, _isInterlaced(false)
2526
, _isTopFieldFirst(false)

src/AvTranscoder/properties/VideoProperties.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ class AvExport VideoProperties : public StreamProperties
110110
#endif
111111

112112
private:
113+
/**
114+
* @brief Level of analysis asked.
115+
*/
116+
EAnalyseLevel _levelAnalysis;
117+
113118
PixelProperties _pixelProperties;
114119
//@{
115120
// Can acces these data when analyse first gop

0 commit comments

Comments
 (0)