Add a load of explicit keywords.
[dcpomatic.git] / src / tools / dcpomatic_player.cc
index c59d925236c4538bbf9c5f1701e43e8d3bddedec..d42320bfdd383c527af1a0170c15fd41e288306a 100644 (file)
@@ -181,7 +181,7 @@ public:
 
                shared_ptr<Job> last = jm->get().back();
                if (last->finished_in_error()) {
-                       error_dialog (this, std_to_wx (last->error_summary()) + ".\n");
+                       error_dialog(this, std_to_wx(last->error_summary()) + ".\n", std_to_wx(last->error_details()));
                        return;
                }
 
@@ -311,6 +311,10 @@ private:
                        DCPOMATIC_ASSERT (dcp);
                        dcp->add_ov (wx_to_std(c->GetPath()));
                        dcp->examine (shared_ptr<Job>());
+                       /* Maybe we just gained some subtitles */
+                       if (dcp->subtitle) {
+                               dcp->subtitle->set_use (true);
+                       }
                }
 
                c->Destroy ();