Message ID | 20210323053734.6741-2-ffmpeg@gyani.pro |
---|---|
State | Accepted |
Commit | 325bb04188092f37aceee962f58a4816f0d8e79b |
Headers | show |
Series | [FFmpeg-devel,1/3] avformat/rtpenc_mpegts: allow options for mpeg-ts muxer | expand |
Context | Check | Description |
---|---|---|
andriy/x86_make | success | Make finished |
andriy/x86_make_fate | success | Make fate finished |
andriy/PPC64_make | success | Make finished |
andriy/PPC64_make_fate | success | Make fate finished |
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)