aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorRick van der Zwet <info@rickvanderzwet.nl>2012-03-03 20:45:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-04 00:20:10 +0100
commitd33a091cb382d39146aa1ee7b8364a5d497e715f (patch)
treeb6d502567e3031cfe44df3e1804b00317f0700ba /ffmpeg.c
parent8f1bb3d59850932d43a60472ff98c723268a3958 (diff)
downloadffmpeg-d33a091cb382d39146aa1ee7b8364a5d497e715f.tar.gz
ffm options should also set discard automatically.
commit 13f6917ca91dfdc0fd785235b2dae891a9604859 handles discards automatically, but the ffm discard options are not fully parsed. Causing the input streams not to be used, so no stream towards the ffserver after the initial probing. Signed-off-by: Rick van der Zwet <info@rickvanderzwet.nl> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c43192d8f9..7afec4ce0d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4310,6 +4310,7 @@ static void opt_output_file(void *optctx, const char *filename)
ost->sync_ist= ist;
ost->source_index= i;
ist->discard = 0;
+ ist->st->discard = AVDISCARD_NONE;
break;
}
}