gst-play: Handle KeyDown event instead of KeyUp on Win32 keyboard handler
authorSeungha Yang <seungha.yang@navercorp.com>
Fri, 27 Sep 2019 11:08:39 +0000 (20:08 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Tue, 19 Nov 2019 08:48:26 +0000 (17:48 +0900)
commitfd830868bf48d210c5ffa03ffd9d52bfbbf552d6
tree8ea4feeeb04f8951c71c4c33f5d697bfe5b2aa5f
parent60d58038df5eb41f08598c8aa1d467bfea8729c9
gst-play: Handle KeyDown event instead of KeyUp on Win32 keyboard handler

To handle long press case, KeyDown input should be handled instead of KeyUp.
Note that OS will take care of the sensitivity of KeyDown event, so we can safely
assume one KeyDown as one input. That will not break user experience.
tools/gst-play-kb.c