Can someone who can build and do diffs on the source code please help
What i want is to be able to change the default provider name using the
--metadata in the same way you can change the default service name.
So what i would like is from this, Current code:401
title = av_metadata_get(s->metadata, "title", NULL, 0);
service_name = title ? title->value : DEFAULT_SERVICE_NAME;
service = mpegts_add_service(ts, DEFAULT_SID,
DEFAULT_PROVIDER_NAME, service_name);
to
title = av_metadata_get(s->metadata, "title", NULL, 0);
service_name = title ? title->value : DEFAULT_SERVICE_NAME;
provider = av_metadata_get(s->metadata, "provider", NULL, 0);
provider_name = provider ? provider->value : DEFAULT_PROVIDER_NAME;
service = mpegts_add_service(ts, DEFAULT_SID,
provider_name, service_name);
now there also needs a new variable provider_name to be defined at line 394
AVMetadataTag *title;
int i, j;
const char *service_name;
int *pids;
to
AVMetadataTag *title;
AVMetadataTag *provider;
int i, j;
const char *service_name;
const char *provider_name;
int *pids;
Can anybody help please.
joolz
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user