File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/AvTranscoder/mediaProperty Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class AvExport FileProperties
47
47
size_t getBitRate () const ; // /< total stream bitrate in bit/s, 0 if not available (result of a computation by ffmpeg)
48
48
size_t getPacketSize () const ;
49
49
50
- PropertyVector& getMetadatas () { return _metadatas; }
50
+ const PropertyVector& getMetadatas () const { return _metadatas; }
51
51
52
52
size_t getNbStreams () const ;
53
53
size_t getNbVideoStreams () const { return _videoStreams.size (); }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class AvExport StreamProperties
19
19
size_t getStreamId () const ;
20
20
Rational getTimeBase () const ;
21
21
double getDuration () const ; // /< in seconds
22
- PropertyVector& getMetadatas () { return _metadatas; }
22
+ const PropertyVector& getMetadatas () const { return _metadatas; }
23
23
24
24
#ifndef SWIG
25
25
const AVFormatContext& getAVFormatContext () { return *_formatContext; }
You can’t perform that action at this time.
0 commit comments