summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-01-13 15:38:13 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-06-29 17:03:25 +0200
commita9a7e215e5207e674338b7ca9eb74e96ae5faf99 (patch)
treee308a84a4bb963dc301bb0c9af2d722c9c3bdd8f /libavformat/allformats.c
parent3cd4f9fd76d626f3168393b55549440a2cb8e716 (diff)
lavf/segment: add stream_segment variant of the segment muxer
This simplifies usage for segment streaming formats with no global headers, tipically MPEG 2 transport stream "ts" files. The seg class duplication is required in order to avoid an infinite loop in libavformat/utils.c:format_child_next_class().
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index c3b8bb479f..c8b9abf9f1 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -215,6 +215,7 @@ void av_register_all(void)
#endif
REGISTER_DEMUXER (SEGAFILM, segafilm);
REGISTER_MUXER (SEGMENT, segment);
+ REGISTER_MUXER (SEGMENT, stream_segment);
REGISTER_DEMUXER (SHORTEN, shorten);
REGISTER_DEMUXER (SIFF, siff);
REGISTER_DEMUXER (SMACKER, smacker);