aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2021-03-18 18:52:15 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2021-03-26 14:44:06 +0530
commita6dc1e84d2ae8eeb18dd4d7f3a05e5b15556cba3 (patch)
treef8d7ada0ad05413a19dc8f9d1eeffeaac5ef5ea7
parent390b6f0cba0889331474419e134aa0176d030e60 (diff)
downloadffmpeg-a6dc1e84d2ae8eeb18dd4d7f3a05e5b15556cba3.tar.gz
avformat/rtpenc_mpegts: relay streamid to mpegts muxer streams.
Cherry-picked 325bb04188
-rw-r--r--libavformat/rtpenc_mpegts.c1
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)