ffmpeg_filter: refuse to configure input without a decoder.
authorNicolas George <george@nsup.org>
Fri, 18 Jul 2014 08:34:39 +0000 (10:34 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Aug 2014 02:13:38 +0000 (04:13 +0200)
commitf7b147548e768aa36acec9f752fcbd001d9e03c5
tree9b253fd624f61a9a10f4735952e66f41d1a96d7c
parentf99b17bd32ca4048eff814655746d992cd580ce9
ffmpeg_filter: refuse to configure input without a decoder.

The decoder is necessary in order to filter frames.
This makes the error message clearer in this case:
currently, it will usually fail because the pixel or sample
format is not defined and is converted into "(null)"
(non-portable).

Enhance trac ticket #3779.
(cherry picked from commit 91244073fd8b983e7cd1f97da83daf956fbbddc6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg_filter.c