replay: Only send bookmarkButton message when --all flag is set (#36612)

Only send BookmarkButton message when --all flag is set
This commit is contained in:
Dean Lee
2025-11-13 06:22:14 +08:00
committed by GitHub
parent 9ee66008db
commit 3d08a5048b
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ Options:
--qcam Load qcamera
--no-hw-decoder Disable HW video decoding
--no-vipc Do not output video
--all Output all messages including uiDebug, userBookmark
--all Output all messages including bookmarkButton, uiDebug, userBookmark
-h, --help Show this help message
)";

View File

@@ -20,7 +20,7 @@ Replay::Replay(const std::string &route, std::vector<std::string> allow, std::ve
std::signal(SIGUSR1, interrupt_sleep_handler);
if (!(flags_ & REPLAY_FLAG_ALL_SERVICES)) {
block.insert(block.end(), {"uiDebug", "userBookmark"});
block.insert(block.end(), {"bookmarkButton", "uiDebug", "userBookmark"});
}
setupServices(allow, block);
setupSegmentManager(!allow.empty() || !block.empty());