projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix start-trim of audio-only content (#915).
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_stream.h
diff --git
a/src/lib/ffmpeg_stream.h
b/src/lib/ffmpeg_stream.h
index 317ee2e9c7e6fedb596bf7d8c30fb0289000e3a3..ec27a30f0efbaa480d7acc9d53a40eea265612cf 100644
(file)
--- a/
src/lib/ffmpeg_stream.h
+++ b/
src/lib/ffmpeg_stream.h
@@
-54,6
+54,12
@@
public:
return boost::lexical_cast<std::string> (_id);
}
+ int id () const {
+ return _id;
+ }
+
+ int index (AVFormatContext const * c) const;
+
std::string name;
friend bool operator== (FFmpegStream const & a, FFmpegStream const & b);