Add new GLError constructor.
[dcpomatic.git] / src / lib / image_proxy.cc
index 69c296605cd8fb6dfa7c8afd995b9dc72097445f..9e456c941b9d768dc711ca8625d0edb6be1de02b 100644 (file)
 
 */
 
+
 #include "image_proxy.h"
 #include "raw_image_proxy.h"
-#include "magick_image_proxy.h"
+#include "ffmpeg_image_proxy.h"
 #include "j2k_image_proxy.h"
 #include "image.h"
 #include "exceptions.h"
 #include "cross.h"
 #include <dcp/util.h>
 #include <libcxml/cxml.h>
-#include <boost/make_shared.hpp>
 #include <iostream>
 
 #include "i18n.h"
 
+
 using std::cout;
+using std::make_shared;
+using std::shared_ptr;
 using std::string;
-using boost::shared_ptr;
-using boost::make_shared;
+
 
 shared_ptr<ImageProxy>
 image_proxy_factory (shared_ptr<cxml::Node> xml, shared_ptr<Socket> socket)
 {
        if (xml->string_child("Type") == N_("Raw")) {
-               return make_shared<RawImageProxy> (xml, socket);
-       } else if (xml->string_child("Type") == N_("Magick")) {
-               return make_shared<MagickImageProxy> (xml, socket);
+               return make_shared<RawImageProxy>(xml, socket);
+       } else if (xml->string_child("Type") == N_("FFmpeg")) {
+               return make_shared<FFmpegImageProxy>(socket);
        } else if (xml->string_child("Type") == N_("J2K")) {
-               return make_shared<J2KImageProxy> (xml, socket);
+               return make_shared<J2KImageProxy>(xml, socket);
        }
 
        throw NetworkError (_("Unexpected image type received by server"));