From 6edac68a2309b213ee2c83c3d917d005210d5124 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 27 Oct 2022 22:22:07 +0200 Subject: wip: hacks --- src/lib/ffmpeg_video_stream.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/lib/ffmpeg_video_stream.h (limited to 'src/lib/ffmpeg_video_stream.h') diff --git a/src/lib/ffmpeg_video_stream.h b/src/lib/ffmpeg_video_stream.h new file mode 100644 index 000000000..ea65388da --- /dev/null +++ b/src/lib/ffmpeg_video_stream.h @@ -0,0 +1,36 @@ +/* + Copyright (C) 2022 Carl Hetherington + + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DCP-o-matic is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DCP-o-matic. If not, see . + +*/ + + +#include "ffmpeg_stream.h" + + +class FFmpegVideoStream : public FFmpegStream +{ +public: + FFmpegVideoStream(std::string name, int id, float frame_rate) + : FFmpegStream(name, id) + , _frame_rate(frame_rate) + {} + +private: + float _frame_rate; +}; + -- cgit v1.2.3