aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/cmdutils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-02-19 10:27:44 +0100
committerAnton Khirnov <anton@khirnov.net>2024-03-13 08:01:27 +0100
commita9193f7b7d65aafa326e25571c6672636a8ee3d2 (patch)
tree3db4310d628d166d97df3972ad395776fa59d08b /fftools/cmdutils.c
parentb98af440c575c1f9a706bd57ee5f1dd8b9ff82cc (diff)
downloadffmpeg-a9193f7b7d65aafa326e25571c6672636a8ee3d2.tar.gz
fftools/ffmpeg: add loopback decoding
This allows to send an encoder's output back to decoding and feed the result into a complex filtergraph.
Diffstat (limited to 'fftools/cmdutils.c')
-rw-r--r--fftools/cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 8efec942bd..f3c258bb99 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -528,7 +528,7 @@ static void check_options(const OptionDef *po)
{
while (po->name) {
if (po->flags & OPT_PERFILE)
- av_assert0(po->flags & (OPT_INPUT | OPT_OUTPUT));
+ av_assert0(po->flags & (OPT_INPUT | OPT_OUTPUT | OPT_DECODER));
if (po->type == OPT_TYPE_FUNC)
av_assert0(!(po->flags & (OPT_FLAG_OFFSET | OPT_FLAG_SPEC)));