Fix tray
This commit is contained in:
@@ -155,7 +155,7 @@ namespace proc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
proc_t::execute(int app_id, const ctx_t& _app, std::shared_ptr<rtsp_stream::launch_session_t> launch_session) {
|
proc_t::execute(int app_id, const ctx_t& app, std::shared_ptr<rtsp_stream::launch_session_t> launch_session) {
|
||||||
// Ensure starting from a clean slate
|
// Ensure starting from a clean slate
|
||||||
terminate();
|
terminate();
|
||||||
|
|
||||||
@@ -164,6 +164,7 @@ namespace proc {
|
|||||||
terminate();
|
terminate();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
_app = app;
|
||||||
_app_id = app_id;
|
_app_id = app_id;
|
||||||
_launch_session = launch_session;
|
_launch_session = launch_session;
|
||||||
|
|
||||||
|
|||||||
@@ -311,7 +311,7 @@ namespace system_tray {
|
|||||||
tray.icon = TRAY_ICON;
|
tray.icon = TRAY_ICON;
|
||||||
tray_update(&tray);
|
tray_update(&tray);
|
||||||
char msg[256];
|
char msg[256];
|
||||||
snprintf(msg, std::size(msg), "Streaming paused for %s", app_name.c_str());
|
snprintf(msg, std::size(msg), "Streaming stopped for %s", app_name.c_str());
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
strcpy(msg, convertUtf8ToCurrentCodepage(msg).c_str());
|
strcpy(msg, convertUtf8ToCurrentCodepage(msg).c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user