mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 23:33:58 +08:00
cabana: fix crash in live streaming mode by skipping thumbnail display (#34302)
resolve crash in live streaming mode
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user