This commit is contained in:
Yukino Song
2024-08-22 00:17:45 +08:00
parent 68459b511d
commit 1653c06a98
2 changed files with 3 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ namespace proc {
}
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
terminate();
@@ -164,6 +164,7 @@ namespace proc {
terminate();
});
_app = app;
_app_id = app_id;
_launch_session = launch_session;

View File

@@ -311,7 +311,7 @@ namespace system_tray {
tray.icon = TRAY_ICON;
tray_update(&tray);
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
strcpy(msg, convertUtf8ToCurrentCodepage(msg).c_str());
#endif