diff options
Diffstat (limited to 'src/wx/film_viewer.cc')
| -rw-r--r-- | src/wx/film_viewer.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index e517c9cca..c848fe09b 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -34,10 +34,10 @@ #include "lib/examine_content_job.h" #include "lib/filter.h" #include "lib/player.h" +#include "lib/player_video_frame.h" #include "lib/video_content.h" #include "lib/video_decoder.h" #include "lib/timer.h" -#include "lib/dcp_video.h" #include "film_viewer.h" #include "wx_util.h" @@ -150,9 +150,9 @@ FilmViewer::get (DCPTime p, bool accurate) return; } - list<shared_ptr<DCPVideo> > dcp_video = _player->get_video (p, accurate); - if (!dcp_video.empty ()) { - _frame = dcp_video.front()->image (PIX_FMT_BGRA, true); + list<shared_ptr<PlayerVideoFrame> > pvf = _player->get_video (p, accurate); + if (!pvf.empty ()) { + _frame = pvf.front()->image (); _frame = _frame->scale (_frame->size(), Scaler::from_id ("fastbilinear"), PIX_FMT_RGB24, false); } else { _frame.reset (); |
