ffm options should also set discard automatically.

commit 13f6917ca9 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>
This commit is contained in:
Rick van der Zwet 2012-03-03 20:45:45 +01:00 committed by Michael Niedermayer
parent 8f1bb3d598
commit d33a091cb3
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}