From 4f112a8e34022c821be885ed293abc0b120c875b Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 12 Mar 2013 16:54:42 +0100 Subject: lavf/mux: add the flush_packets option. Note: a lot of muxers already do the flushing explicitly. --- libavformat/options_table.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/options_table.h') diff --git a/libavformat/options_table.h b/libavformat/options_table.h index 6750050c1f..9f8613764c 100644 --- a/libavformat/options_table.h +++ b/libavformat/options_table.h @@ -75,6 +75,7 @@ static const AVOption options[]={ {"avoid_negative_ts", "shift timestamps to make them positive. 1 enables, 0 disables, default of -1 enables when required by target format.", OFFSET(avoid_negative_ts), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, E}, {"skip_initial_bytes", "skip initial bytes", OFFSET(skip_initial_bytes), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX-1, D}, {"correct_ts_overflow", "correct single timestamp overflows", OFFSET(correct_ts_overflow), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, D}, +{"flush_packets", "enable flushing of the I/O context after each packet", OFFSET(flush_packets), AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, E}, {NULL}, }; -- cgit v1.2.3