Esempio n. 1
0
 private void FormPlayer_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Space)
     {
         FFplay.ffplay_toggle_pause();
         e.Handled = true;
     }
     else if (e.KeyCode == Keys.F)
     {
         FFplay.ffplay_step_to_next_frame();
         e.Handled = true;
     }
     else if (e.KeyCode == Keys.Left)
     {
         FFplay.ffplay_set_position(FFplay.ffplay_get_position() - jumpPos);
         e.Handled = true;
     }
     else if (e.KeyCode == Keys.Right)
     {
         FFplay.ffplay_set_position(FFplay.ffplay_get_position() + jumpPos);
         e.Handled = true;
     }
 }
Esempio n. 2
0
 private void steptonextframeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FFplay.ffplay_step_to_next_frame();
 }
Esempio n. 3
0
 private void button1_Click(object sender, EventArgs e)
 {
     FFplay.ffplay_step_to_next_frame();
 }