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 1edd7e5 commit b91248c
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 @@ -221,7 +221,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 b91248c

Please sign in to comment.