diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-08-20 00:17:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-08-20 00:17:46 +0100 |
| commit | 35e9a698ba3ca35fd488b3622e441956632261cf (patch) | |
| tree | 123624c4bc215943666c1c9cc24d0d08cd8ae336 /src/lib | |
| parent | 8f3743d18026b59b1ecd8e8f4d12cc59273eb1ed (diff) | |
Allow player to handle VF/OV and KDMs.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/dcp_content.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 70914b39c..18f88b3d3 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -146,7 +146,9 @@ DCPContent::examine (shared_ptr<Job> job) string const old_name = name (); bool had_subtitles = static_cast<bool> (subtitle); - job->set_progress_unknown (); + if (job) { + job->set_progress_unknown (); + } Content::examine (job); shared_ptr<DCPExaminer> examiner (new DCPExaminer (shared_from_this ())); |
