ffplay: seek only when pressing the right mouse button on the video window
authorVittorio Gambaletta (VittGam) <ffmpeg-dev@vittgam.net>
Mon, 18 Jan 2016 23:57:38 +0000 (00:57 +0100)
committerMarton Balint <cus@passwd.hu>
Tue, 19 Jan 2016 22:15:23 +0000 (23:15 +0100)
commitcde4b99f476875f53aa1596e937691de952ab457
tree397b5f2ac7d3bae6f6e31a87fe0469406b8fcbcb
parent307b8482181685e9a87a8d2f4ab9c7d180eaf3ad
ffplay: seek only when pressing the right mouse button on the video window

Seeking by clicking on the video window can be annoying, because
the user might click on it accidentally while eg. trying to get
focus on it, and ffplay seeks instead.

This commit changes that behaviour to seek only when the right
mouse button is used to click and drag on the window.

Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net>
Signed-off-by: Marton Balint <cus@passwd.hu>
Changelog
ffplay.c