projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714aa61
)
Fix video scaling when the video needs rotation (#2791).
author
Carl Hetherington
<cth@carlh.net>
Fri, 29 Mar 2024 22:18:01 +0000
(23:18 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 29 Mar 2024 22:18:01 +0000
(23:18 +0100)
src/lib/ffmpeg_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_content.cc
b/src/lib/ffmpeg_content.cc
index c788e7cb1d271296fd201477f9e0e6631de0c32b..4a7c87b341e1046e0efbc4cabe965626d68ce01e 100644
(file)
--- a/
src/lib/ffmpeg_content.cc
+++ b/
src/lib/ffmpeg_content.cc
@@
-295,8
+295,10
@@
FFmpegContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
_filters.push_back(*Filter::from_id("hflip"));
} else if (fabs (rot - 90) < 1.0) {
_filters.push_back(*Filter::from_id("90clock"));
+ video->rotate_size();
} else if (fabs (rot - 270) < 1.0) {
_filters.push_back(*Filter::from_id("90anticlock"));
+ video->rotate_size();
}
}
if (examiner->has_alpha()) {