avformat/hlsenc: add reference stream index for split segment
authorSteven Liu <lq@chinaffmpeg.org>
Fri, 2 Mar 2018 02:56:36 +0000 (10:56 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Fri, 2 Mar 2018 02:56:36 +0000 (10:56 +0800)
commitaa294ad00a497d07931914027267cd4964425ca3
treed6e6a855c885c627b376d1309cb052b02bc71e5f
parentf5f2209d689cd17f4bce7ce5c4f0b1634befc785
avformat/hlsenc: add reference stream index for split segment

fix ticket: #7044
Get the first video stream to reference for split segment
when there have more than one video stream

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Reviewed-by: Karthick Jeyapal <kjeyapal@akamai.com>
libavformat/hlsenc.c