You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
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>
This commit is contained in:
@@ -44,7 +44,7 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
|
||||
track->enc->codec_tag = track->tag;
|
||||
|
||||
ret = ff_rtp_chain_mux_open(&track->rtp_ctx, s, src_st, NULL,
|
||||
RTP_MAX_PACKET_SIZE);
|
||||
RTP_MAX_PACKET_SIZE, src_index);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user