Tread .psd as an image file.
[dcpomatic.git] / src / lib / image_proxy.cc
index 3a09cb8e8cd0cbce273bea7a66403178d34800a8..f6f6350d8f53a258caa4814fb5aea2c4a77f6947 100644 (file)
@@ -20,7 +20,7 @@
 
 #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"
 
 using std::cout;
 using std::string;
-using boost::shared_ptr;
+using std::shared_ptr;
 
 shared_ptr<ImageProxy>
 image_proxy_factory (shared_ptr<cxml::Node> xml, shared_ptr<Socket> socket)
 {
        if (xml->string_child("Type") == N_("Raw")) {
                return shared_ptr<ImageProxy> (new RawImageProxy (xml, socket));
-       } else if (xml->string_child("Type") == N_("Magick")) {
-               return shared_ptr<MagickImageProxy> (new MagickImageProxy (xml, socket));
+       } else if (xml->string_child("Type") == N_("FFmpeg")) {
+               return shared_ptr<FFmpegImageProxy> (new FFmpegImageProxy(xml, socket));
        } else if (xml->string_child("Type") == N_("J2K")) {
                return shared_ptr<J2KImageProxy> (new J2KImageProxy (xml, socket));
        }