Skip to content

Commit 5c7573e

Browse files
author
Clement Champetier
committed
StreamProperties: getAVFormatContext is a const method
1 parent 5adc732 commit 5c7573e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AvTranscoder/mediaProperty/StreamProperties.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AvExport StreamProperties
2323
const PropertyVector& getMetadatas() const { return _metadatas; }
2424

2525
#ifndef SWIG
26-
const AVFormatContext& getAVFormatContext() { return *_formatContext; }
26+
const AVFormatContext& getAVFormatContext() const { return *_formatContext; }
2727
#endif
2828

2929
PropertyMap getPropertiesAsMap() const; ///< Return all properties as a map (name of property, value)

0 commit comments

Comments
 (0)