This is enabled by default and can be disabled with
"-fflags -flush_packets".
Inspired by a patch from Nicolas George <nicolas.george@normalesup.org>.
Signed-off-by: Martin Storsjö <martin@martin.st>
pull/36/head
Luca Barbato12 years agocommitted byMartin Storsjö
{"flush_packets","reduce the latency by flushing out packets immediately",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_FLAG_FLUSH_PACKETS},INT_MIN,INT_MAX,D,"fflags"},