diff options
author | Rick van der Zwet <info@rickvanderzwet.nl> | 2012-03-03 20:45:45 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-04 00:20:10 +0100 |
commit | d33a091cb382d39146aa1ee7b8364a5d497e715f (patch) | |
tree | b6d502567e3031cfe44df3e1804b00317f0700ba /ffmpeg.c | |
parent | 8f1bb3d59850932d43a60472ff98c723268a3958 (diff) | |
download | ffmpeg-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } } |