#include "types.h"
#include "dcpomatic_assert.h"
-#include "raw_convert.h"
+#include <dcp/raw_convert.h>
#include <libxml++/libxml++.h>
#include <libcxml/cxml.h>
using std::min;
using std::string;
using boost::shared_ptr;
+using dcp::raw_convert;
bool operator== (Crop const & a, Crop const & b)
{
switch (t) {
case VIDEO_FRAME_TYPE_2D:
return "2d";
+ case VIDEO_FRAME_TYPE_3D:
+ return "3d";
case VIDEO_FRAME_TYPE_3D_LEFT_RIGHT:
return "3d-left-right";
case VIDEO_FRAME_TYPE_3D_TOP_BOTTOM:
{
if (s == "2d") {
return VIDEO_FRAME_TYPE_2D;
+ } else if (s == "3d") {
+ return VIDEO_FRAME_TYPE_3D;
} else if (s == "3d-left-right") {
return VIDEO_FRAME_TYPE_3D_LEFT_RIGHT;
} else if (s == "3d-top-bottom") {