From 7ded55f6676a7a96981341ae48f9ac6198a418a6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 13 Apr 2014 12:30:57 +0200 Subject: vf_vapoursynth: print an error if VapourSynth returns an unknown format Apparently there is no real format negotiation, so this can actually happen. --- video/filter/vf_vapoursynth.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video') diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index 58bc829c7f..930f15e723 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -390,6 +390,7 @@ static int config(struct vf_instance *vf, int width, int height, const VSVideoInfo *vi = p->vsapi->getVideoInfo(p->out_node); fmt = mp_from_vs(vi->format->id); if (!fmt) { + MP_FATAL(vf, "Unsupported output format.\n"); destroy_vs(vf); return 0; } -- cgit v1.2.3