Skip to content

Commit

Permalink
cabana: fix crash in live streaming mode by skipping thumbnail display (
Browse files Browse the repository at this point in the history
#34302)

resolve crash in live streaming mode
  • Loading branch information
deanlee authored Dec 22, 2024
1 parent d621469 commit 52c8a12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/cabana/videowidget.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 52c8a12

Please sign in to comment.