History

avformat/hlsenc: fix stream level metadata handling

hls-encoder currenlty does not provide stream level metadata to mpegts muxer. This patch fixes track #3848 bug.

Bela Bodecs committed 9 years ago

Commit 2b9f92f1 parent 2dafbae1 file · +1 −0Browse files

Unified · Split

libavformat/hlsenc.c+1−0
@@ -450,6 +450,7 @@ static int hls_mux_init(AVFormatContext *s) · 449 unmodified lines
450450 avcodec_parameters_copy(st->codecpar, s->streams[i]->codecpar);
451451 st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
452452 st->time_base = s->streams[i]->time_base;
453+ av_dict_copy(&st->metadata, s->streams[i]->metadata, 0);
453454 }
454455 hls->start_pos = 0;
455456 hls->new_start = 1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t