diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2022-01-07 22:03:21 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2022-01-09 10:38:04 +0530 |
commit | 1c2d1d988a3fc2460276df11507b062017c5f535 (patch) | |
tree | 53b7cf76f03831e72a43a244a0d869eff34faead | |
parent | 4eb182b71471217c7b50a95e2f530d226b232772 (diff) | |
download | ffmpeg-1c2d1d988a3fc2460276df11507b062017c5f535.tar.gz |
avformat/hlsenc: convey stream id to segment streams
-rw-r--r-- | libavformat/hlsenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 459129818a..ef8973cea1 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -900,6 +900,7 @@ static int hls_mux_init(AVFormatContext *s, VariantStream *vs) st->sample_aspect_ratio = vs->streams[i]->sample_aspect_ratio; st->time_base = vs->streams[i]->time_base; av_dict_copy(&st->metadata, vs->streams[i]->metadata, 0); + st->id = vs->streams[i]->id; } vs->start_pos = 0; |