Revision 236bb68d

View differences:

libavformat/mpegtsenc.c
400 400
    ts->tsid = DEFAULT_TSID;
401 401
    ts->onid = DEFAULT_ONID;
402 402
    /* allocate a single DVB service */
403
    title = av_metadata_get(s->metadata, "title", NULL, 0);
403
    title = av_metadata_get(s->metadata, "service_name", NULL, 0);
404 404
    if (!title)
405
        title = av_metadata_get(s->metadata, "service_name", NULL, 0);
405
        title = av_metadata_get(s->metadata, "title", NULL, 0);
406 406
    service_name = title ? title->value : DEFAULT_SERVICE_NAME;
407 407
    provider = av_metadata_get(s->metadata, "service_provider", NULL, 0);
408 408
    provider_name = provider ? provider->value : DEFAULT_PROVIDER_NAME;

Also available in: Unified diff