diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2021-03-18 18:52:15 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2021-03-26 12:35:37 +0530 |
commit | 325bb04188092f37aceee962f58a4816f0d8e79b (patch) | |
tree | f466bb4664af48693d41cc44f4924ac82c58ffc9 /libavformat/rtpenc_mpegts.c | |
parent | affe911c65022c96bc8ade2ea5f2c09235974c30 (diff) | |
download | ffmpeg-325bb04188092f37aceee962f58a4816f0d8e79b.tar.gz |
avformat/rtpenc_mpegts: relay streamid to mpegts muxer streams.
Diffstat (limited to 'libavformat/rtpenc_mpegts.c')
-rw-r--r-- | libavformat/rtpenc_mpegts.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |