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

Only send BookmarkButton message when --all flag is set
pull/36614/head^2
Dean Lee 24 hours ago committed by GitHub
parent 9ee66008db
commit 3d08a5048b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      tools/replay/main.cc
  2. 2
      tools/replay/replay.cc

@ -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
)";

@ -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());

Loading…
Cancel
Save