#include "film_viewer.h"
#include "wx_util.h"
-#include "lib/image.h"
+#include "lib/butler.h"
+#include "lib/cross.h"
#include "lib/dcpomatic_assert.h"
+#include "lib/dcpomatic_log.h"
#include "lib/exceptions.h"
-#include "lib/cross.h"
+#include "lib/image.h"
#include "lib/player_video.h"
-#include "lib/butler.h"
#include <boost/bind/bind.hpp>
#include <iostream>
GLVideoView::size_changed (wxSizeEvent const& ev)
{
_canvas_size = ev.GetSize ();
+ LOG_GENERAL("GLVideoView canvas size changed to %1x%2", ev.GetSize().GetWidth(), ev.GetSize().GetHeight());
Sized ();
}
int const canvas_height = canvas_size.GetHeight();
auto const inter_position = player_video().first->inter_position();
auto const inter_size = player_video().first->inter_size();
+ LOG_GENERAL("Image inter_size is %1x%2", inter_size.width, inter_size.height);
auto const out_size = player_video().first->out_size();
auto x_offset = std::max(0, (canvas_width - out_size.width) / 2);