summaryrefslogtreecommitdiff
path: root/src/wx/hints_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-11-07 09:50:43 +0000
committerCarl Hetherington <cth@carlh.net>2014-11-07 09:50:43 +0000
commit330903522f2454744f2c45ae2fd255d120b2a102 (patch)
treef48dadf4f5e37636f3d41c6da66afb7504e14c28 /src/wx/hints_dialog.cc
parent1d45262d8e0e77b6f9c874c11858cbbd530c5dc5 (diff)
Add a hint if there is 3D content and the DCP is 2D.
Diffstat (limited to 'src/wx/hints_dialog.cc')
-rw-r--r--src/wx/hints_dialog.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wx/hints_dialog.cc b/src/wx/hints_dialog.cc
index 497d138ca..a5f3417a2 100644
--- a/src/wx/hints_dialog.cc
+++ b/src/wx/hints_dialog.cc
@@ -133,6 +133,20 @@ HintsDialog::film_changed ()
_text->Newline ();
}
+ int three_d = 0;
+ for (ContentList::const_iterator i = content.begin(); i != content.end(); ++i) {
+ shared_ptr<const VideoContent> vc = dynamic_pointer_cast<const VideoContent> (*i);
+ if (vc && vc->video_frame_type() != VIDEO_FRAME_TYPE_2D) {
+ ++three_d;
+ }
+ }
+
+ if (three_d > 0) {
+ hint = true;
+ _text->WriteText (_("You are using 3D content but your DCP is set to 2D. Set the DCP to 3D if you want to play it back on a 3D system (e.g.\ Real-D, MasterImage etc.)"));
+ _text->Newline ();
+ }
+
_text->EndSymbolBullet ();
if (!hint) {