*/
+
/** @file src/encoder.cc
* @brief A class which takes a Film and some Options, then uses those to encode the film
* into some output format.
* as a parameter to the constructor.
*/
+
#include "encoder.h"
#include "player.h"
#include "i18n.h"
-using boost::weak_ptr;
-using boost::shared_ptr;
/** Construct an encoder.
* @param film Film that we are encoding.
* @param job Job that this encoder is being used in.
*/
-Encoder::Encoder (shared_ptr<const Film> film, weak_ptr<Job> job)
+Encoder::Encoder (std::shared_ptr<const Film> film, std::weak_ptr<Job> job)
: _film (film)
, _job (job)
- , _player (new Player(film, film->playlist(), film->length()))
+ , _player (new Player(film, Image::Alignment::PADDED))
{
}