lavf/segment: Mark output contexts as non-seekable when applicable
authorRodger Combs <rodger.combs@gmail.com>
Sun, 29 Mar 2015 16:57:09 +0000 (10:57 -0600)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Mar 2015 17:04:17 +0000 (19:04 +0200)
commitde2aaf1a2a14c07793a99c41596e0b436ec3736d
tree2f056987f5bd1821bcf5f63272a096aff75dddb7
parent9573737dfbe530158b7ecf7a3acbe9971c20cb0e
lavf/segment: Mark output contexts as non-seekable when applicable

This prevents sub-muxers from trying to seek back to the beginning of the
whole stream, only to find themselves overwriting some video data in the
current (often last) segment.

We only do this when not writing individual header/trailers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/segment.c