X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fffmpeg_decoder.h;h=ca42e013e886c2cc08c94ed2edb63d2aae6c831a;hp=65f36a00461b9115ca67fea8e7ee60c60a944ef8;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hpb=0d35820cf50d2789752b8776683b26d04642518d diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index 65f36a004..ca42e013e 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -28,7 +28,6 @@ extern "C" { #include } -#include #include #include @@ -45,7 +44,7 @@ struct ffmpeg_pts_offset_test; class FFmpegDecoder : public FFmpeg, public Decoder { public: - FFmpegDecoder (boost::shared_ptr film, boost::shared_ptr, bool fast); + FFmpegDecoder (std::shared_ptr film, std::shared_ptr, bool fast); bool pass (); void seek (dcpomatic::ContentTime time, bool); @@ -55,8 +54,8 @@ private: void flush (); - AVSampleFormat audio_sample_format (boost::shared_ptr stream) const; - int bytes_per_audio_sample (boost::shared_ptr stream) const; + AVSampleFormat audio_sample_format (std::shared_ptr stream) const; + int bytes_per_audio_sample (std::shared_ptr stream) const; bool decode_video_packet (); void decode_audio_packet (); @@ -66,9 +65,9 @@ private: void decode_ass_subtitle (std::string ass, dcpomatic::ContentTime from); void maybe_add_subtitle (); - boost::shared_ptr deinterleave_audio (boost::shared_ptr stream) const; + std::shared_ptr deinterleave_audio (std::shared_ptr stream) const; - std::list > _filter_graphs; + std::list > _filter_graphs; boost::mutex _filter_graphs_mutex; dcpomatic::ContentTime _pts_offset; @@ -76,7 +75,7 @@ private: /** true if we have a subtitle which has not had emit_stop called for it yet */ bool _have_current_subtitle; - boost::shared_ptr _black_image; + std::shared_ptr _black_image; std::vector > _next_time; };