diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-11-11 20:44:28 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-11-14 20:38:51 +0100 |
commit | 8034130e06b03859af9ce64f7ee653cd14df328d (patch) | |
tree | ac5d06c32f27347f96c147599f2e6129178c6e1e /libavformat/sapenc.c | |
parent | 3b4296f41473a5b39e84d7a49d480624c9c60040 (diff) | |
download | ffmpeg-8034130e06b03859af9ce64f7ee653cd14df328d.tar.gz |
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 <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/sapenc.c')
-rw-r--r-- | libavformat/sapenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sapenc.c b/libavformat/sapenc.c index 1575848b3a..fd9be4f5a7 100644 --- a/libavformat/sapenc.c +++ b/libavformat/sapenc.c @@ -151,7 +151,7 @@ static int sap_write_header(AVFormatContext *s) ret = AVERROR(EIO); goto fail; } - ret = ff_rtp_chain_mux_open(&contexts[i], s, s->streams[i], fd, 0); + ret = ff_rtp_chain_mux_open(&contexts[i], s, s->streams[i], fd, 0, i); if (ret < 0) goto fail; s->streams[i]->priv_data = contexts[i]; |