diff options
author | wm4 <wm4@nowhere> | 2014-11-09 10:00:21 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-09 10:01:16 +0100 |
commit | 3d7d1f3f264e55857c83b8a94aa24081ae45dd4d (patch) | |
tree | fc576981333d8b0fe3702f0e38a0fc67c5d68562 /video/out/vo.h | |
parent | b021d038c2217903e511ca3673d5f2f1b996c4d4 (diff) | |
download | mpv-3d7d1f3f264e55857c83b8a94aa24081ae45dd4d.tar.bz2 mpv-3d7d1f3f264e55857c83b8a94aa24081ae45dd4d.tar.xz |
video/out: minor simplification to event query function
The "clear" parameter is confusing and useless.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 60e887444c..a083437397 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -316,7 +316,7 @@ void vo_set_paused(struct vo *vo, bool paused); int64_t vo_get_drop_count(struct vo *vo); int vo_query_format(struct vo *vo, int format); void vo_event(struct vo *vo, int event); -int vo_query_events(struct vo *vo, int events, bool clear); +int vo_query_and_reset_events(struct vo *vo, int events); void vo_set_flip_queue_offset(struct vo *vo, int64_t us); int64_t vo_get_vsync_interval(struct vo *vo); |