summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_stream.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-11-04 21:03:15 +0100
committerCarl Hetherington <cth@carlh.net>2025-11-09 20:15:19 +0100
commitc49bd081b3b06f9c036b63af6f2ffe05db059134 (patch)
treeb1de58ac1849eb2348790eeb669efd490e95147f /src/lib/ffmpeg_stream.h
parentd78820e4b4c9d24bef4c2ddd522900ca11d00fa7 (diff)
Add remove_stream_ids().
Diffstat (limited to 'src/lib/ffmpeg_stream.h')
-rw-r--r--src/lib/ffmpeg_stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_stream.h b/src/lib/ffmpeg_stream.h
index 1583e5221..8bdb5e1a4 100644
--- a/src/lib/ffmpeg_stream.h
+++ b/src/lib/ffmpeg_stream.h
@@ -58,6 +58,10 @@ public:
_id = boost::none;
}
+ void set_index(int index) {
+ _index = index;
+ }
+
int index(AVFormatContext const * c) const;
std::string name;