Changeset 1301 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder
- Timestamp:
- 21 Jul 2015, 00:19:48 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1298 r1301 1024 1024 SMultiValueInput<Int> cfg_timeCodeSeiTimeOffsetLength (0, 31, 0, MAX_TIMECODE_SEI_SETS); 1025 1025 SMultiValueInput<Int> cfg_timeCodeSeiTimeOffsetValue (std::numeric_limits<Int>::min(), std::numeric_limits<Int>::max(), 0, MAX_TIMECODE_SEI_SETS); 1026 Int warnUnknowParameter = 0; 1026 1027 1027 1028 #if Q0096_OVERLAY_SEI … … 1045 1046 ("help", do_help, false, "this help text") 1046 1047 ("c", po::parseConfigFile, "configuration file name") 1048 ("WarnUnknowParameter,w", warnUnknowParameter, 0, "warn for unknown configuration parameters instead of failing") 1047 1049 1048 1050 // File, I/O and source parameters … … 1688 1690 1689 1691 po::setDefaults(opts); 1690 const list<const Char*>& argv_unhandled = po::scanArgv(opts, argc, (const Char**) argv); 1692 po::ErrorReporter err; 1693 const list<const Char*>& argv_unhandled = po::scanArgv(opts, argc, (const Char**) argv, err); 1691 1694 1692 1695 #if SVC_EXTENSION … … 1720 1723 po::doHelp(cout, opts); 1721 1724 return false; 1725 } 1726 1727 if (err.is_errored) 1728 { 1729 if (!warnUnknowParameter) 1730 { 1731 /* error report has already been printed on stderr */ 1732 return false; 1733 } 1722 1734 } 1723 1735
Note: See TracChangeset for help on using the changeset viewer.