From 8034130e06b03859af9ce64f7ee653cd14df328d Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 11 Nov 2012 20:44:28 +0100 Subject: rtp: set the payload type as stream id Support multiple video/audio streams with different format in the same session. Signed-off-by: Luca Barbato --- libavformat/rtpenc_chain.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/rtpenc_chain.h') diff --git a/libavformat/rtpenc_chain.h b/libavformat/rtpenc_chain.h index 66b9e4cd0a..4117239402 100644 --- a/libavformat/rtpenc_chain.h +++ b/libavformat/rtpenc_chain.h @@ -26,6 +26,7 @@ #include "url.h" int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s, - AVStream *st, URLContext *handle, int packet_size); + AVStream *st, URLContext *handle, int packet_size, + int id); #endif /* AVFORMAT_RTPENC_CHAIN_H */ -- cgit v1.2.3