Warn user when single segment and segment template are used
Change-Id: I4b85f50aa0890fb54a642c38520225df9bdbbbef
This commit is contained in:
parent
6550868574
commit
b07adaeae7
|
@ -255,6 +255,11 @@ bool CreateRemuxJobs(const StreamDescriptorList& stream_descriptors,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
stream_muxer_options.segment_template = stream_iter->segment_template;
|
stream_muxer_options.segment_template = stream_iter->segment_template;
|
||||||
|
if (stream_muxer_options.single_segment) {
|
||||||
|
LOG(WARNING) << "Segment template and single segment are incompatible, "
|
||||||
|
"setting single segment to false.";
|
||||||
|
stream_muxer_options.single_segment = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
stream_muxer_options.bandwidth = stream_iter->bandwidth;
|
stream_muxer_options.bandwidth = stream_iter->bandwidth;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue