[FFmpeg-cvslog] avformat/rtpenc_mpegts: relay streamid to mpegts muxer streams.
Gyan Doshi
git at videolan.org
Fri Mar 26 09:08:26 EET 2021
ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Thu Mar 18 19:10:15 2021 +0530| [325bb04188092f37aceee962f58a4816f0d8e79b] | committer: Gyan Doshi
avformat/rtpenc_mpegts: relay streamid to mpegts muxer streams.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=325bb04188092f37aceee962f58a4816f0d8e79b
---
libavformat/rtpenc_mpegts.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/rtpenc_mpegts.c b/libavformat/rtpenc_mpegts.c
index d501d09590..22881461e4 100644
--- a/libavformat/rtpenc_mpegts.c
+++ b/libavformat/rtpenc_mpegts.c
@@ -77,6 +77,7 @@ static int rtp_mpegts_write_header(AVFormatContext *s)
goto fail;
st->time_base = s->streams[i]->time_base;
st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
+ st->id = s->streams[i]->id;
avcodec_parameters_copy(st->codecpar, s->streams[i]->codecpar);
}
if ((ret = avio_open_dyn_buf(&mpegts_ctx->pb)) < 0)
More information about the ffmpeg-cvslog
mailing list