summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_file_encoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-04 21:16:53 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-07 22:48:29 +0100
commitdd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch)
treee56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/ffmpeg_file_encoder.h
parent0d35820cf50d2789752b8776683b26d04642518d (diff)
std::shared_ptr
Diffstat (limited to 'src/lib/ffmpeg_file_encoder.h')
-rw-r--r--src/lib/ffmpeg_file_encoder.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ffmpeg_file_encoder.h b/src/lib/ffmpeg_file_encoder.h
index 08fc4778b..d644a1939 100644
--- a/src/lib/ffmpeg_file_encoder.h
+++ b/src/lib/ffmpeg_file_encoder.h
@@ -51,8 +51,8 @@ public:
~FFmpegFileEncoder ();
- void video (boost::shared_ptr<PlayerVideo>, dcpomatic::DCPTime);
- void audio (boost::shared_ptr<AudioBuffers>);
+ void video (std::shared_ptr<PlayerVideo>, dcpomatic::DCPTime);
+ void audio (std::shared_ptr<AudioBuffers>);
void subtitle (PlayerText, dcpomatic::DCPTimePeriod);
void flush ();
@@ -70,7 +70,7 @@ private:
AVCodec* _video_codec;
AVCodecContext* _video_codec_context;
- std::vector<boost::shared_ptr<ExportAudioStream> > _audio_streams;
+ std::vector<std::shared_ptr<ExportAudioStream> > _audio_streams;
bool _audio_stream_per_channel;
AVFormatContext* _format_context;
AVStream* _video_stream;
@@ -88,12 +88,12 @@ private:
int64_t _audio_frames;
- boost::shared_ptr<AudioBuffers> _pending_audio;
+ std::shared_ptr<AudioBuffers> _pending_audio;
/** Store of shared_ptr<Image> to keep them alive whilst raw pointers into
their data have been passed to FFmpeg.
*/
- std::map<uint8_t*, boost::shared_ptr<const Image> > _pending_images;
+ std::map<uint8_t*, std::shared_ptr<const Image> > _pending_images;
boost::mutex _pending_images_mutex;
static int _video_stream_index;