10 #include "packager/app/retired_flags.h"
14 DEFINE_string(profile,
"",
"This flag is deprecated. Do not use.");
15 DEFINE_bool(single_segment,
true,
"This flag is deprecated. Do not use.");
16 DEFINE_bool(webm_subsample_encryption,
18 "This flag is deprecated. Use vp9_subsample_encryption instead.");
24 bool InformRetiredStringFlag(
const char* flagname,
const std::string& value) {
26 fprintf(stderr,
"WARNING: %s is deprecated and ignored.\n", flagname);
30 bool InformRetiredDefaultTrueFlag(
const char* flagname,
bool value) {
32 fprintf(stderr,
"WARNING: %s is deprecated and ignored.\n", flagname);
36 DEFINE_validator(profile, &InformRetiredStringFlag);
37 DEFINE_validator(single_segment, &InformRetiredDefaultTrueFlag);
38 DEFINE_validator(webm_subsample_encryption, &InformRetiredDefaultTrueFlag);