diff options
| author | Gyan Doshi <[email protected]> | 2022-01-07 22:03:21 +0530 |
|---|---|---|
| committer | Gyan Doshi <[email protected]> | 2022-01-09 10:37:00 +0530 |
| commit | 1850c610e72c690a42dbde467011e22d73e73a78 (patch) | |
| tree | d56f4d21a38bf797412bbb44c9ea49779688e333 | |
| parent | ffb000fff8f945a5b30f1df8ab1cb2e8300cdabd (diff) | |
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; |
