hls-encoder currenlty does not provide stream level metadata to mpegts muxer. This patch fixes track #3848 bug.
Unified · Split
| @@ -450,6 +450,7 @@ static int hls_mux_init(AVFormatContext *s) · 449 unmodified lines | ||
| 450 | 450 | avcodec_parameters_copy(st->codecpar, s->streams[i]->codecpar); |
| 451 | 451 | st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio; |
| 452 | 452 | st->time_base = s->streams[i]->time_base; |
| 453 | + av_dict_copy(&st->metadata, s->streams[i]->metadata, 0); | |
| 453 | 454 | } |
| 454 | 455 | hls->start_pos = 0; |
| 455 | 456 | hls->new_start = 1; |