mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Set service_provider and service_name in mpegts demuxer
Set service_provider and service_name in mpegts demuxer, previously name and provider_name were set but since the muxer uses service_provider and service_name use them. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
75aded8328
commit
e8315e7881
@ -1211,8 +1211,8 @@ static void sdt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
|
||||
if (name) {
|
||||
AVProgram *program = av_new_program(ts->stream, sid);
|
||||
if(program) {
|
||||
av_metadata_set2(&program->metadata, "name", name, 0);
|
||||
av_metadata_set2(&program->metadata, "provider_name", provider_name, 0);
|
||||
av_metadata_set2(&program->metadata, "service_name", name, 0);
|
||||
av_metadata_set2(&program->metadata, "service_provider", provider_name, 0);
|
||||
}
|
||||
}
|
||||
av_free(name);
|
||||
|
Loading…
Reference in New Issue
Block a user