diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-21 11:41:50 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-21 11:41:50 +0000 |
| commit | 817620394821a4581ea8cfd02fb23f2524169405 (patch) | |
| tree | 9b4788f28c69253952de9f5ef6bf3cfa34fda34d /src/lib/ffmpeg_content.h | |
| parent | fe886ca75591e3122e7123590dd09bedbc549199 (diff) | |
Remove FFmpegStream id accessor.
Diffstat (limited to 'src/lib/ffmpeg_content.h')
| -rw-r--r-- | src/lib/ffmpeg_content.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h index ed2169de0..6dbff41d1 100644 --- a/src/lib/ffmpeg_content.h +++ b/src/lib/ffmpeg_content.h @@ -51,9 +51,14 @@ public: bool uses_index (AVFormatContext const * c, int index) const; AVStream* stream (AVFormatContext const * c) const; - int id () const { - return _id; + std::string technical_summary () const { + return "id " + boost::lexical_cast<std::string> (_id); } + + std::string identifier () const { + return boost::lexical_cast<std::string> (_id); + } + std::string name; friend bool operator== (FFmpegStream const & a, FFmpegStream const & b); |
