summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index 8194d0206..2d0e17fa2 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -28,6 +28,7 @@
class wxToggleButton;
class FFmpegPlayer;
class Image;
+class RGBPlusAlphaImage;
class Subtitle;
/** @class FilmViewer
@@ -53,6 +54,8 @@ private:
void update_from_raw ();
void decoder_changed ();
void seek_and_update (SourceFrame);
+ void raw_to_display ();
+ void get_frame ();
boost::shared_ptr<Film> _film;
@@ -62,8 +65,11 @@ private:
wxTimer _timer;
Decoders _decoders;
- boost::shared_ptr<Image> _raw;
- boost::shared_ptr<Image> _display;
+ boost::shared_ptr<Image> _raw_frame;
+ boost::shared_ptr<Subtitle> _raw_sub;
+ boost::shared_ptr<Image> _display_frame;
+ boost::shared_ptr<RGBPlusAlphaImage> _display_sub;
+ Position _display_sub_position;
int _out_width;
int _out_height;