diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-22 02:16:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-26 00:09:27 +0100 |
| commit | 5799460dc38bafa1da1ce9f7bf43621d3fadf442 (patch) | |
| tree | a4666f4bf8f99f29716e8d68113320426b0a1c95 /src/lib/video_content.cc | |
| parent | aaf6845e130ac208cee524536b67c54bd1ce8ed9 (diff) | |
Noisy change to get film into AudioContent::modify_trim_start().
Diffstat (limited to 'src/lib/video_content.cc')
| -rw-r--r-- | src/lib/video_content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index ca0076fba..c10a94f43 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -305,7 +305,7 @@ VideoContent::as_xml (xmlpp::Node* node) const } void -VideoContent::take_from_examiner (shared_ptr<VideoExaminer> d) +VideoContent::take_from_examiner(shared_ptr<const Film> film, shared_ptr<VideoExaminer> d) { /* These examiner calls could call other content methods which take a lock on the mutex */ auto const vs = d->video_size (); @@ -332,7 +332,7 @@ VideoContent::take_from_examiner (shared_ptr<VideoExaminer> d) LOG_GENERAL ("Video length obtained from header as %1 frames", _length); if (d->video_frame_rate()) { - _parent->set_video_frame_rate (d->video_frame_rate().get()); + _parent->set_video_frame_rate(film, d->video_frame_rate().get()); } } |
