diff mbox series

[FFmpeg-devel] avformat/hlsenc: convey stream id to segment streams

Message ID 20220107163433.5721-1-ffmpeg@gyani.pro
State Accepted
Commit 1850c610e72c690a42dbde467011e22d73e73a78
Headers show
Series [FFmpeg-devel] avformat/hlsenc: convey stream id to segment streams | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Gyan Doshi Jan. 7, 2022, 4:34 p.m. UTC
---
Plan to apply to 5.0

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

Comments

Gyan Doshi Jan. 8, 2022, 4:39 p.m. UTC | #1
Trivial patch. FATE passes. Intend to push tomorrow.

On 2022-01-07 10:04 pm, Gyan Doshi wrote:
> ---
> Plan to apply to 5.0
>
>   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;
Gyan Doshi Jan. 9, 2022, 5:10 a.m. UTC | #2
On 2022-01-08 10:09 pm, Gyan Doshi wrote:
> Trivial patch. FATE passes. Intend to push tomorrow.

Pushed as 1850c610e72c690a42dbde467011e22d73e73a78

Gyan
diff mbox series

Patch

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;