summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-13 13:48:45 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-13 13:48:45 +0100
commit1daaa67c21d4d28757cdcb06c5e26aec3817867c (patch)
treee31238b3445857d9dcaac38e1ee699064b35a416 /src/lib/types.h
parenta136864bf39e952ea6058510a594798588e56a03 (diff)
Make storage of VideoFrameType robust by using a string in the XML rather than a casted enum.
Diffstat (limited to 'src/lib/types.h')
-rw-r--r--src/lib/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/types.h b/src/lib/types.h
index ab51e38a9..8513fde51 100644
--- a/src/lib/types.h
+++ b/src/lib/types.h
@@ -87,6 +87,9 @@ enum VideoFrameType
VIDEO_FRAME_TYPE_3D_RIGHT
};
+std::string video_frame_type_to_string (VideoFrameType);
+VideoFrameType string_to_video_frame_type (std::string);
+
enum Eyes
{
EYES_BOTH,