summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-05-09 16:44:54 +0300
committerMartin Storsjö <martin@martin.st>2014-12-18 23:12:33 +0200
commit8a70ef94b9c377293b3dfa7d92cdc81a4fe1543a (patch)
tree2b5793580340d2635ba522dbd22d86745ad40e2b /libavformat/allformats.c
parenta505c0d7373336a4cc5aa2022111c46bdd388b1f (diff)
libavformat: Add a muxer wrapping mpegts encoding into RTP
Since this structurally is quite different from normal RTP (multiple streams are muxed into one single mpegts stream, which is packetized into one single RTP session), it is kept as a separate muxer. Since this structurally also behaves differently than normal RTP, all of the other muxers that do chained RTP muxing (rtsp, sap, mp4) would need to be updated similarly to handle this - in particular, creating one single rtp_mpegts muxer for the whole presentation instead of one rtp muxer per stream. Signed-off-by: Martin Storsjö <martin@martin.st>
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 7868e3e9c4..cb22ae3836 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -212,6 +212,7 @@ void av_register_all(void)
REGISTER_DEMUXER (RPL, rpl);
REGISTER_MUXDEMUX(RSO, rso);
REGISTER_MUXDEMUX(RTP, rtp);
+ REGISTER_MUXER (RTP_MPEGTS, rtp_mpegts);
REGISTER_MUXDEMUX(RTSP, rtsp);
REGISTER_MUXDEMUX(SAP, sap);
REGISTER_DEMUXER (SDP, sdp);