void
-GLVideoView::draw (Position<int>, dcp::Size)
+GLVideoView::draw ()
{
auto pad = pad_colour();
glClearColor(pad.Red() / 255.0, pad.Green() / 255.0, pad.Blue() / 255.0, 1.0);
auto pv = player_video().first;
if (pv) {
set_image (pv);
- draw (pv->inter_position(), pv->inter_size());
+ draw ();
_viewer->image_changed (pv);
}
}
private:
void set_image (std::shared_ptr<const PlayerVideo> pv);
void set_image_and_draw ();
- void draw (Position<int> inter_position, dcp::Size inter_size);
+ void draw ();
void thread ();
void thread_playing ();
void request_one_shot ();