Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / wx / player_information.h
index b311847cb17be9a6c638eff14e71be36ad081848..2ce49371431e3f6e8162aedd66105918e22a40d2 100644 (file)
@@ -32,7 +32,7 @@ class FilmViewer;
 class PlayerInformation : public wxPanel
 {
 public:
-       PlayerInformation (wxWindow* parent, std::weak_ptr<FilmViewer> viewer);
+       PlayerInformation(wxWindow* parent, FilmViewer const& viewer);
 
        void triggered_update ();
 
@@ -40,7 +40,7 @@ private:
 
        void periodic_update ();
 
-       std::weak_ptr<FilmViewer> _viewer;
+       FilmViewer const& _viewer;
        wxPanel* _kdm_panel;
        wxSizer* _sizer;
        wxStaticText** _dcp;