X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_stream.h;h=ec27a30f0efbaa480d7acc9d53a40eea265612cf;hb=2704fe5ce4ecfcb9214c032117be719079b93d89;hp=317ee2e9c7e6fedb596bf7d8c30fb0289000e3a3;hpb=d6d3c4648cc21e3a48f32eeab7df0c5a4e24f2f9;p=dcpomatic.git 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 (_id); } + int id () const { + return _id; + } + + int index (AVFormatContext const * c) const; + std::string name; friend bool operator== (FFmpegStream const & a, FFmpegStream const & b);