Revision eed0812a

View differences:

chunker_player/chunker_player.c
522 522
	cfg_opt_t channel_opts[] =
523 523
	{
524 524
		CFG_STR("Title", "", CFGF_NONE),
525
		CFG_STR("ChannelGroup", "", CFGF_NONE),
525 526
		CFG_STR("LaunchString", "", CFGF_NONE),
526 527
		CFG_INT("AudioChannels", 2, CFGF_NONE),
527 528
		CFG_INT("SampleRate", 48000, CFGF_NONE),
......
586 587
	{
587 588
		cfg_channel = cfg_getnsec(cfg, "Channel", j);
588 589
		sprintf(Channels[j].Title, "%s", cfg_title(cfg_channel));
590
		strcpy(Channels[j].ChannelGroup, cfg_getstr(cfg_channel, "ChannelGroup"));
591
		if (strlen(Channels[j].ChannelGroup) == 0) strcpy(Channels[j].ChannelGroup,Channels[j].Title);
589 592
		strcpy(Channels[j].LaunchString, cfg_getstr(cfg_channel, "LaunchString"));
590 593
		strcpy(Channels[j].VideoCodec, cfg_getstr(cfg_channel, "VideoCodec"));
591 594
		strcpy(Channels[j].AudioCodec, cfg_getstr(cfg_channel, "AudioCodec"));
chunker_player/chunker_player.h
18 18
{
19 19
	char LaunchString[255];
20 20
	char Title[255];
21
	char ChannelGroup[255];	//channel group name. If specified, overrides title when publishing results
21 22
	int Width;
22 23
	int Height;
23 24
	float Ratio;

Also available in: Unified diff