summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wx/film_viewer.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 6f0c33768..2c330b60c 100644
--- 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);
}