Use boost::signals2; fix bugs with x-thread signalling.
[dcpomatic.git] / src / lib / encoder_factory.cc
index df45535cf7a27cd764efde7aa5f999aeb85e861b..2da021ad8265df36bef1beeb0fe4ef7bb8965ad9 100644 (file)
 #include "j2k_still_encoder.h"
 #include "film.h"
 
-using namespace std;
-using namespace boost;
+using boost::shared_ptr;
 
 shared_ptr<Encoder>
 encoder_factory (shared_ptr<const Film> f, shared_ptr<const Options> o)
 {
-       if (!filesystem::is_directory (f->content_path()) && f->content_type() == STILL) {
+       if (!boost::filesystem::is_directory (f->content_path()) && f->content_type() == STILL) {
                return shared_ptr<Encoder> (new J2KStillEncoder (f, o));
        }