From dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 4 Jan 2021 21:16:53 +0100 Subject: std::shared_ptr --- src/lib/ffmpeg_file_encoder.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/ffmpeg_file_encoder.h') 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, dcpomatic::DCPTime); - void audio (boost::shared_ptr); + void video (std::shared_ptr, dcpomatic::DCPTime); + void audio (std::shared_ptr); void subtitle (PlayerText, dcpomatic::DCPTimePeriod); void flush (); @@ -70,7 +70,7 @@ private: AVCodec* _video_codec; AVCodecContext* _video_codec_context; - std::vector > _audio_streams; + std::vector > _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 _pending_audio; + std::shared_ptr _pending_audio; /** Store of shared_ptr to keep them alive whilst raw pointers into their data have been passed to FFmpeg. */ - std::map > _pending_images; + std::map > _pending_images; boost::mutex _pending_images_mutex; static int _video_stream_index; -- cgit v1.2.3