projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use libdcp's warnings.h
[dcpomatic.git]
/
src
/
wx
/
simple_video_view.cc
diff --git
a/src/wx/simple_video_view.cc
b/src/wx/simple_video_view.cc
index f4ff9a4ebaea4da93ef57ba8d714953247eca46b..46854653485e5b6643a85ad056f60ff64d5e6012 100644
(file)
--- a/
src/wx/simple_video_view.cc
+++ b/
src/wx/simple_video_view.cc
@@
-27,7
+27,10
@@
#include "lib/dcpomatic_log.h"
#include "lib/image.h"
#include <dcp/util.h>
#include "lib/dcpomatic_log.h"
#include "lib/image.h"
#include <dcp/util.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
#include <boost/bind/bind.hpp>
#include <boost/bind/bind.hpp>
@@
-224,7
+227,7
@@
SimpleVideoView::update ()
_state_timer.set ("get image");
_state_timer.set ("get image");
- _image = player_video().first->image(b
ind(&PlayerVideo::force, _1
, AV_PIX_FMT_RGB24), VideoRange::FULL, true);
+ _image = player_video().first->image(b
oost::bind(&PlayerVideo::force
, AV_PIX_FMT_RGB24), VideoRange::FULL, true);
_state_timer.set ("ImageChanged");
_viewer->image_changed (player_video().first);
_state_timer.set ("ImageChanged");
_viewer->image_changed (player_video().first);