From 7dcab4c799d8209dbc2d10fad4f562f991a164a8 Mon Sep 17 00:00:00 2001 From: KongQun Yang Date: Wed, 7 Feb 2018 13:46:11 -0800 Subject: [PATCH] Fix '--temp_dir' option does not work problem Fixes #322 Change-Id: Ia0ea32029c81fd8ac5661f8002154e2a54d3a84d --- packager/app/packager_main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packager/app/packager_main.cc b/packager/app/packager_main.cc index 26ec7040e1..b49749be2e 100644 --- a/packager/app/packager_main.cc +++ b/packager/app/packager_main.cc @@ -263,6 +263,8 @@ bool ParseAdCues(const std::string& ad_cues, std::vector* cuepoints) { base::Optional GetPackagingParams() { PackagingParams packaging_params; + packaging_params.temp_dir = FLAGS_temp_dir; + AdCueGeneratorParams& ad_cue_generator_params = packaging_params.ad_cue_generator_params; if (!ParseAdCues(FLAGS_ad_cues, &ad_cue_generator_params.cue_points)) {