summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_file_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-06 16:52:41 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-06 16:52:41 +0200
commit307264b52c70ca0a79831240874fcb2278ebac89 (patch)
treef7e2299eb67a08a52159d11fa79eac0b685f0980 /src/lib/ffmpeg_file_encoder.h
parent4cff4f2cb09685d8e5d4a0fafe43089bca9441d1 (diff)
White space: ffmpeg_file_encoder.{cc,h}
Diffstat (limited to 'src/lib/ffmpeg_file_encoder.h')
-rw-r--r--src/lib/ffmpeg_file_encoder.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/ffmpeg_file_encoder.h b/src/lib/ffmpeg_file_encoder.h
index a365f463a..a975d4519 100644
--- a/src/lib/ffmpeg_file_encoder.h
+++ b/src/lib/ffmpeg_file_encoder.h
@@ -57,7 +57,7 @@ enum class ExportFormat
class FFmpegFileEncoder
{
public:
- FFmpegFileEncoder (
+ FFmpegFileEncoder(
dcp::Size video_frame_size,
int video_frame_rate,
int audio_frame_rate,
@@ -68,21 +68,21 @@ public:
boost::filesystem::path output
);
- ~FFmpegFileEncoder ();
+ ~FFmpegFileEncoder();
- void video (std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime);
- void audio (std::shared_ptr<AudioBuffers>);
- void subtitle (PlayerText, dcpomatic::DCPTimePeriod);
+ void video(std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime);
+ void audio(std::shared_ptr<AudioBuffers>);
+ void subtitle(PlayerText, dcpomatic::DCPTimePeriod);
- void flush ();
+ void flush();
- static AVPixelFormat pixel_format (ExportFormat format);
+ static AVPixelFormat pixel_format(ExportFormat format);
private:
- void setup_video ();
- void setup_audio ();
+ void setup_video();
+ void setup_audio();
- void audio_frame (int size);
+ void audio_frame(int size);
AVCodec const * _video_codec = nullptr;
AVCodecContext* _video_codec_context = nullptr;