diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-28 00:44:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-28 00:44:40 +0100 |
| commit | 2704fe5ce4ecfcb9214c032117be719079b93d89 (patch) | |
| tree | fe1be9a0b2d68892a20ce96f50965ba95b85992b /src/lib/ffmpeg_stream.h | |
| parent | d6d3c4648cc21e3a48f32eeab7df0c5a4e24f2f9 (diff) | |
Fix start-trim of audio-only content (#915).
Diffstat (limited to 'src/lib/ffmpeg_stream.h')
| -rw-r--r-- | src/lib/ffmpeg_stream.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_stream.h b/src/lib/ffmpeg_stream.h index 317ee2e9c..ec27a30f0 100644 --- 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); |
