Browse Source

avformat/rtpenc_mpegts: relay streamid to mpegts muxer streams.

Cherry-picked 325bb04188
tags/n4.4
Gyan Doshi 4 years ago
parent
commit
a6dc1e84d2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/rtpenc_mpegts.c

+ 1
- 0
libavformat/rtpenc_mpegts.c View File

@@ -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)


Loading…
Cancel
Save