summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-22 21:06:23 +0200
committerwm4 <wm4@nowhere>2014-04-22 21:06:23 +0200
commita45363a28af226d684e70aee7fbf094e6f7c02d2 (patch)
tree32cfdf2ba5b20d07c60de8badfd0c6e07faaa3e6 /video/out/vo.h
parente156f8b052d583f0d57b20a5a9f87951d1d3a6f1 (diff)
downloadmpv-a45363a28af226d684e70aee7fbf094e6f7c02d2.tar.bz2
mpv-a45363a28af226d684e70aee7fbf094e6f7c02d2.tar.xz
vo: simplify event_fd handling
Add the event FD after preinit, remove it before destroy. There's no need to do it on vo_config, and there's no need to remove the event FD when vo_config fails.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index b9887d2119..e096c3c208 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -249,7 +249,6 @@ struct vo {
struct encode_lavc_context *encode_lavc_ctx;
struct input_ctx *input_ctx;
int event_fd; // check_events() should be called when this has input
- int registered_fd; // set to event_fd when registered in input system
// requested position/resolution (usually window position/window size)
int dx;