Commit 1850c610 authored by Gyan Doshi's avatar Gyan Doshi

avformat/hlsenc: convey stream id to segment streams

parent ffb000ff
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment