summaryrefslogtreecommitdiffstats
path: root/video/out/vo_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_null.c')
-rw-r--r--video/out/vo_null.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/vo_null.c b/video/out/vo_null.c
index 2259e50c48..da9de61bf3 100644
--- a/video/out/vo_null.c
+++ b/video/out/vo_null.c
@@ -27,7 +27,6 @@
#include "config.h"
#include "common/msg.h"
#include "vo.h"
-#include "video/vfcap.h"
#include "video/mp_image.h"
static void draw_image(struct vo *vo, mp_image_t *mpi)
@@ -39,9 +38,9 @@ static void flip_page(struct vo *vo)
{
}
-static int query_format(struct vo *vo, uint32_t format)
+static int query_format(struct vo *vo, int format)
{
- return VFCAP_CSP_SUPPORTED;
+ return 1;
}
static int reconfig(struct vo *vo, struct mp_image_params *params, int flags)