From 330903522f2454744f2c45ae2fd255d120b2a102 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 7 Nov 2014 09:50:43 +0000 Subject: Add a hint if there is 3D content and the DCP is 2D. --- src/wx/hints_dialog.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') 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 vc = dynamic_pointer_cast (*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) { -- cgit v1.2.3