cabana: fix crash in live streaming mode by skipping thumbnail display (#34302)

resolve crash in live streaming mode
pull/34304/head
Dean Lee 4 months ago committed by GitHub
parent d6214690dc
commit 52c8a12b08
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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();

Loading…
Cancel
Save