ffmpeg | branch: master | Gyan Doshi <ffm...@gyani.pro> | Fri Jan  7 22:21:21 
2022 +0530| [1850c610e72c690a42dbde467011e22d73e73a78] | committer: Gyan Doshi

avformat/hlsenc: convey stream id to segment streams

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1850c610e72c690a42dbde467011e22d73e73a78
---

 libavformat/hlsenc.c | 1 +
 1 file changed, 1 insertion(+)

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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to