Switch to testing on Ubuntu 16.04 and 22.04.
[libdcp.git] / src / asset_factory.h
index 2dd04559a664e8e6ce41d2bfcd7b04b0b2570908..0e60de03084c9e9a3178720b51b698fbf243bd23 100644 (file)
@@ -47,7 +47,13 @@ namespace dcp {
 class Asset;
 
 
-std::shared_ptr<Asset> asset_factory (boost::filesystem::path path, bool ignore_incorrect_picture_mxf_type);
+/** Create an Asset from a file.
+ *  @param ignore_incorrect_picture_mxf_type true to ignore cases where a stereo picture asset is marked
+ *  as 2D; if this is false an exception will be thrown in that case.
+ *  @param ignored_incorrect_picture_mxf_type if this is non-null it will be set to true if a 3D asset was
+ *  marked as 2D, otherwise it will be left alone.
+ */
+std::shared_ptr<Asset> asset_factory (boost::filesystem::path path, bool ignore_incorrect_picture_mxf_type, bool* found_threed_marked_as_twod = nullptr);
 
 
 }