-Butler::Butler (shared_ptr<Player> player, shared_ptr<Log> log, AudioMapping audio_mapping, int audio_channels)
- : _player (player)
- , _log (log)
- , _prepare_work (new boost::asio::io_service::work (_prepare_service))
+
+/** @param pixel_format Pixel format functor that will be used when calling ::image on PlayerVideos coming out of this
+ * butler. This will be used (where possible) to prepare the PlayerVideos so that calling image() on them is quick.
+ * @param alignment Same as above for the `alignment' value.
+ * @param fast Same as above for the `fast' flag.
+ */
+Butler::Butler (
+ weak_ptr<const Film> film,
+ shared_ptr<Player> player,
+ AudioMapping audio_mapping,
+ int audio_channels,
+ function<AVPixelFormat (AVPixelFormat)> pixel_format,
+ VideoRange video_range,
+ Image::Alignment alignment,
+ bool fast,
+ bool prepare_only_proxy,
+ Audio audio
+ )
+ : _film (film)
+ , _player (player)
+ , _prepare_work (new boost::asio::io_service::work(_prepare_service))