Fix '--temp_dir' option does not work problem

Fixes #322

Change-Id: Ia0ea32029c81fd8ac5661f8002154e2a54d3a84d
This commit is contained in:
KongQun Yang 2018-02-07 13:46:11 -08:00
parent a82edb5228
commit 7dcab4c799
1 changed files with 2 additions and 0 deletions

View File

@ -263,6 +263,8 @@ bool ParseAdCues(const std::string& ad_cues, std::vector<Cuepoint>* cuepoints) {
base::Optional<PackagingParams> GetPackagingParams() { base::Optional<PackagingParams> GetPackagingParams() {
PackagingParams packaging_params; PackagingParams packaging_params;
packaging_params.temp_dir = FLAGS_temp_dir;
AdCueGeneratorParams& ad_cue_generator_params = AdCueGeneratorParams& ad_cue_generator_params =
packaging_params.ad_cue_generator_params; packaging_params.ad_cue_generator_params;
if (!ParseAdCues(FLAGS_ad_cues, &ad_cue_generator_params.cue_points)) { if (!ParseAdCues(FLAGS_ad_cues, &ad_cue_generator_params.cue_points)) {