File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/AvTranscoder/properties Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class AvExport FileProperties
61
61
size_t getNbAttachementStreams () const { return _attachementStreams.size (); }
62
62
size_t getNbUnknownStreams () const { return _unknownStreams.size (); }
63
63
64
- const FormatContext& getFormatContext () { return *_formatContext; }
64
+ const FormatContext& getFormatContext () const { return *_formatContext; }
65
65
66
66
// @{
67
67
// @brief Get the properties at the indicated stream index
@@ -81,7 +81,7 @@ class AvExport FileProperties
81
81
// @}
82
82
83
83
#ifndef SWIG
84
- const AVFormatContext& getAVFormatContext () { return *_avFormatContext; }
84
+ const AVFormatContext& getAVFormatContext () const { return *_avFormatContext; }
85
85
#endif
86
86
87
87
std::string allPropertiesAsJson () const ; // /< Return all properties as a json format.
You can’t perform that action at this time.
0 commit comments