diff options
author | Georgi Chorbadzhiyski <gf@unixsol.org> | 2011-01-20 16:24:53 +0300 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-20 16:42:27 +0300 |
commit | e8315e78814f92d6d031bd3a909d896351a416f8 (patch) | |
tree | cf3ae14a6a0d97b77883daa52e6798418b3b1d3f /libavformat/mpegts.c | |
parent | 75aded8328e35c9391e25a1c857eb6e3b801a8d8 (diff) |
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>
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 01b69a70c2..959be31577 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -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); |