From 52c8a12b08b1386de40c4bca9dbabf6cb78fbb80 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Mon, 23 Dec 2024 01:27:24 +0800 Subject: [PATCH] cabana: fix crash in live streaming mode by skipping thumbnail display (#34302) resolve crash in live streaming mode --- tools/cabana/videowidget.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/cabana/videowidget.cc b/tools/cabana/videowidget.cc index 97e08d6afd625f..e792f80a418d81 100644 --- a/tools/cabana/videowidget.cc +++ b/tools/cabana/videowidget.cc @@ -222,6 +222,8 @@ void VideoWidget::updatePlayBtnState() { } void VideoWidget::showThumbnail(double seconds) { + if (can->liveStreaming()) return; + cam_widget->thumbnail_dispaly_time = seconds; slider->thumbnail_dispaly_time = seconds; cam_widget->update();