diff --git a/src/gui/osd_helpers.cpp b/src/gui/osd_helpers.cpp index 57a391360..d54716dd7 100644 --- a/src/gui/osd_helpers.cpp +++ b/src/gui/osd_helpers.cpp @@ -123,6 +123,7 @@ void COsdHelpers::changeOsdResolution(uint32_t mode, bool automode/*=false*/, bo CNeutrinoApp::getInstance()->StartSubtitles(); } } + OnAfterChangeResolution(); } #else void COsdHelpers::changeOsdResolution(uint32_t, bool, bool) diff --git a/src/gui/osd_helpers.h b/src/gui/osd_helpers.h index 9c78886f0..1815b29de 100644 --- a/src/gui/osd_helpers.h +++ b/src/gui/osd_helpers.h @@ -2,12 +2,14 @@ #ifndef __osd_helpers__ #define __osd_helpers__ +#include + enum { OSDMODE_720 = 0, OSDMODE_1080 = 1 }; -class COsdHelpers +class COsdHelpers : public sigc::trackable { private: @@ -23,6 +25,7 @@ class COsdHelpers int getVideoSystem(); uint32_t getOsdResolution(); int setVideoSystem(int newSystem, bool remember = true); + sigc::signal OnAfterChangeResolution; };