diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-14 00:14:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-14 00:14:38 +0100 |
| commit | 61e5cbfc5e2f376c544b246e40c5990bc090033f (patch) | |
| tree | 6313c7bb6cf57f8e0ae4403ca965d2c168902ca6 /src/lib/ffmpeg_content.cc | |
| parent | 2199f765aca8727da11dd0f33f7dfc59e39bf455 (diff) | |
swaroop: fix incorrect start times with encrypted MP4 content.attic/swaroop-v2.15.x
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
| -rw-r--r-- | src/lib/ffmpeg_content.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index e291b8e7c..97e12cc86 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -259,7 +259,9 @@ FFmpegContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job) ChangeSignaller<Content> cc1 (this, FFmpegContentProperty::SUBTITLE_STREAMS); ChangeSignaller<Content> cc2 (this, FFmpegContentProperty::SUBTITLE_STREAM); - job->set_progress_unknown (); + if (job) { + job->set_progress_unknown (); + } Content::examine (film, job); |
