From: Helge Norberg Date: Tue, 1 Mar 2016 17:23:13 +0000 (+0100) Subject: Removed unnecessary parameter to ffmpeg::make_frame() X-Git-Tag: 2.1.0_Beta1~101 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4b7e54fb9170136379adff96a37d1c5e8db2a445;p=casparcg Removed unnecessary parameter to ffmpeg::make_frame() --- diff --git a/modules/ffmpeg/producer/muxer/frame_muxer.cpp b/modules/ffmpeg/producer/muxer/frame_muxer.cpp index 3b286bd82..055ec9d0f 100644 --- a/modules/ffmpeg/producer/muxer/frame_muxer.cpp +++ b/modules/ffmpeg/producer/muxer/frame_muxer.cpp @@ -146,7 +146,7 @@ struct frame_muxer::impl : boost::noncopyable filter_->push(video); previous_frame_ = video; for (auto& av_frame : filter_->poll_all()) - video_stream_.push(make_frame(this, av_frame, format_desc_.fps, *frame_factory_, channel_layout_)); + video_stream_.push(make_frame(this, av_frame, *frame_factory_, channel_layout_)); } merge(); diff --git a/modules/ffmpeg/producer/util/util.cpp b/modules/ffmpeg/producer/util/util.cpp index b6f2a8f0b..0f525d6f0 100644 --- a/modules/ffmpeg/producer/util/util.cpp +++ b/modules/ffmpeg/producer/util/util.cpp @@ -149,7 +149,7 @@ core::pixel_format_desc pixel_format_desc(PixelFormat pix_fmt, int width, int he } } -core::mutable_frame make_frame(const void* tag, const spl::shared_ptr& decoded_frame, double fps, core::frame_factory& frame_factory, const core::audio_channel_layout& channel_layout) +core::mutable_frame make_frame(const void* tag, const spl::shared_ptr& decoded_frame, core::frame_factory& frame_factory, const core::audio_channel_layout& channel_layout) { static tbb::concurrent_unordered_map>> sws_contvalid_exts_; diff --git a/modules/ffmpeg/producer/util/util.h b/modules/ffmpeg/producer/util/util.h index 41e7d4e5f..9d2f4e458 100644 --- a/modules/ffmpeg/producer/util/util.h +++ b/modules/ffmpeg/producer/util/util.h @@ -56,7 +56,7 @@ namespace caspar { namespace ffmpeg { // Utils core::field_mode get_mode(const AVFrame& frame); -core::mutable_frame make_frame(const void* tag, const spl::shared_ptr& decoded_frame, double fps, core::frame_factory& frame_factory, const core::audio_channel_layout& channel_layout); +core::mutable_frame make_frame(const void* tag, const spl::shared_ptr& decoded_frame, core::frame_factory& frame_factory, const core::audio_channel_layout& channel_layout); spl::shared_ptr make_av_frame(core::mutable_frame& frame); spl::shared_ptr make_av_frame(std::array data, const core::pixel_format_desc& pix_desc);