diff options
author | Damiano Galassi <[email protected]> | 2016-11-25 11:42:01 +0100 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2016-12-21 01:16:29 -0500 |
commit | a920bf446a6fe5eba43656ed3807e25ee4691a4e (patch) | |
tree | e52aa3dc2b346293038dd18894bddcbe605d5d61 /test/test.c | |
parent | 71079db99f4c2b02d45d229bee84907fb814de0b (diff) |
libhb: add new color tags for Bt 2020 and SMPTE ST 2084
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c index 502645573..ae7f8bfa3 100644 --- a/test/test.c +++ b/test/test.c @@ -1530,6 +1530,7 @@ static void ShowHelp() " (default: set by preset, typically 2)\n" " -M, --color-matrix <string>\n" " Set the color space signaled by the output:\n" +" 2020\n" " 709\n" " 601\n" " ntsc (same as 601)\n" @@ -2730,6 +2731,8 @@ static int ParseOptions( int argc, char ** argv ) color_matrix_code = 2; else if( !strcmp( optarg, "709" ) ) color_matrix_code = 3; + else if( !strcmp( optarg, "2020" ) ) + color_matrix_code = 4; } break; case MIN_DURATION: min_title_duration = strtol( optarg, NULL, 0 ); |