projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fa10f1
)
Remove erroneous "fix" for subsampled source gaps.
author
Carl Hetherington
<cth@carlh.net>
Wed, 15 Mar 2023 23:26:06 +0000
(
00:26
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 15 Mar 2023 23:44:42 +0000
(
00:44
+0100)
src/wx/film_viewer.cc
patch
|
blob
|
history
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index 6f0c337687934053d7fe3c5a4c985effd20a44be..2c330b60c4926441a3aadd8869030d29cd45c8a7 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-310,16
+310,6
@@
FilmViewer::calculate_sizes ()
out_size.width = max (64, out_size.width);
out_size.height = max (64, out_size.height);
- /* Make sure the video container sizes are always a multiple of 2 so that
- * we don't get gaps with subsampled sources (e.g. YUV420)
- */
- if (out_size.width % 2) {
- out_size.width++;
- }
- if (out_size.height % 2) {
- out_size.height++;
- }
-
_player->set_video_container_size (out_size);
}