Revision d7b219ca

View differences:

libavformat/mpegts.c
1211 1211
                if (name) {
1212 1212
                    AVProgram *program = av_new_program(ts->stream, sid);
1213 1213
                    if(program) {
1214
                        av_metadata_set2(&program->metadata, "name", name, 0);
1215
                        av_metadata_set2(&program->metadata, "provider_name", provider_name, 0);
1214
                        av_metadata_set2(&program->metadata, "service_name", name, 0);
1215
                        av_metadata_set2(&program->metadata, "service_provider", provider_name, 0);
1216 1216
                    }
1217 1217
                }
1218 1218
                av_free(name);

Also available in: Unified diff