diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-13 13:48:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-13 13:48:45 +0100 |
| commit | 1daaa67c21d4d28757cdcb06c5e26aec3817867c (patch) | |
| tree | e31238b3445857d9dcaac38e1ee699064b35a416 /src/lib/types.h | |
| parent | a136864bf39e952ea6058510a594798588e56a03 (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.h | 3 |
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, |
