Skip to content

Commit

Permalink
GimbalVideoControl: fix exceptions on disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Dec 26, 2024
1 parent eb7e84d commit 0f81dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controls/GimbalVideoControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private void RenderFrame(object sender, MPBitmap image)
{
VideoBox.Image?.Dispose();
VideoBox.Image = null;
VideoBox.Image = VideoBox.ErrorImage;
VideoBox.Image = global::MissionPlanner.Properties.Resources.no_video;
return;
}

Expand Down

0 comments on commit 0f81dac

Please sign in to comment.