From a45363a28af226d684e70aee7fbf094e6f7c02d2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 22 Apr 2014 21:06:23 +0200 Subject: 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. --- video/out/vo.h | 1 - 1 file changed, 1 deletion(-) (limited to 'video/out/vo.h') 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; -- cgit v1.2.3