diff options
author | wm4 <wm4@nowhere> | 2014-04-13 12:30:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-13 12:30:57 +0200 |
commit | 7ded55f6676a7a96981341ae48f9ac6198a418a6 (patch) | |
tree | 49996134dcc4aabbe8ce37486f2eb7fefe3d8d7f | |
parent | 8161f4374ca2723af6a0fad7a4bf137daede3d28 (diff) |
vf_vapoursynth: print an error if VapourSynth returns an unknown format
Apparently there is no real format negotiation, so this can actually
happen.
-rw-r--r-- | video/filter/vf_vapoursynth.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |