Skip to content

Commit

Permalink
Updating Video Player sample application such that double-clicking th…
Browse files Browse the repository at this point in the history
…e player stops the video.

Updates:

 - accord-netGH-437: VideoSourcePlayer - how to display black frame on it?
  • Loading branch information
cesarsouza committed Dec 9, 2017
1 parent ddd55ab commit 9f14ae9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Samples/Video/Video Player/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Samples/Video/Video Player/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,11 @@ private void timer_Tick(object sender, EventArgs e)
}
}
}

private void videoSourcePlayer_Click(object sender, EventArgs e)
{
videoSourcePlayer.SignalToStop();
videoSourcePlayer.WaitForStop();
}
}
}

0 comments on commit 9f14ae9

Please sign in to comment.