Remove unused argument.
Change-Id: I1ee3ca6527ec4ecce7dd57e18eee70a8c6a11eb0
This commit is contained in:
parent
dac0328b47
commit
154e309f3f
|
@ -444,18 +444,11 @@ std::shared_ptr<MediaHandler> CreateEncryptionHandler(
|
||||||
}
|
}
|
||||||
|
|
||||||
Status CreateTextJobs(
|
Status CreateTextJobs(
|
||||||
int first_stream_number,
|
|
||||||
const std::vector<std::reference_wrapper<const StreamDescriptor>>& streams,
|
const std::vector<std::reference_wrapper<const StreamDescriptor>>& streams,
|
||||||
const PackagingParams& packaging_params,
|
const PackagingParams& packaging_params,
|
||||||
MpdNotifier* mpd_notifier,
|
MpdNotifier* mpd_notifier,
|
||||||
std::vector<std::unique_ptr<Job>>* jobs) {
|
std::vector<std::unique_ptr<Job>>* jobs) {
|
||||||
// -1 so that it will be back at |first_stream_number| on the first
|
|
||||||
// iteration.
|
|
||||||
int stream_number = first_stream_number - 1;
|
|
||||||
|
|
||||||
for (const StreamDescriptor& stream : streams) {
|
for (const StreamDescriptor& stream : streams) {
|
||||||
stream_number += 1;
|
|
||||||
|
|
||||||
const MediaContainerName output_format = GetOutputFormat(stream);
|
const MediaContainerName output_format = GetOutputFormat(stream);
|
||||||
|
|
||||||
if (output_format == CONTAINER_MOV) {
|
if (output_format == CONTAINER_MOV) {
|
||||||
|
@ -650,14 +643,12 @@ Status CreateAllJobs(const std::vector<StreamDescriptor>& stream_descriptors,
|
||||||
std::sort(audio_video_streams.begin(), audio_video_streams.end(),
|
std::sort(audio_video_streams.begin(), audio_video_streams.end(),
|
||||||
media::StreamDescriptorCompareFn);
|
media::StreamDescriptorCompareFn);
|
||||||
|
|
||||||
int stream_number = 0;
|
|
||||||
|
|
||||||
Status status;
|
Status status;
|
||||||
|
|
||||||
status.Update(CreateTextJobs(stream_number, text_streams, packaging_params,
|
status.Update(
|
||||||
mpd_notifier, jobs));
|
CreateTextJobs(text_streams, packaging_params, mpd_notifier, jobs));
|
||||||
|
|
||||||
stream_number += text_streams.size();
|
int stream_number = text_streams.size();
|
||||||
|
|
||||||
status.Update(CreateAudioVideoJobs(
|
status.Update(CreateAudioVideoJobs(
|
||||||
stream_number, audio_video_streams, packaging_params, fake_clock,
|
stream_number, audio_video_streams, packaging_params, fake_clock,
|
||||||
|
|
Loading…
Reference in New Issue