diff options
author | John Stebbins <[email protected]> | 2015-10-14 15:26:44 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-10-14 15:30:16 -0700 |
commit | 10e3deb6cf13ebbe2020a7736a231db68e6ab27a (patch) | |
tree | ac7339f7ad63238dc779e3b6899ceaf9c018d130 /libhb/hb_json.c | |
parent | e918e48bfb3f0512dc3d246c0f233ca4bbe28918 (diff) |
grayscale: make it a real filter
It only worked properly with the x264 encoder. Now it works with all
encoders.
Diffstat (limited to 'libhb/hb_json.c')
-rw-r--r-- | libhb/hb_json.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c index e5c64bb9f..ec2a8cae1 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -403,8 +403,8 @@ hb_dict_t* hb_job_to_dict( const hb_job_t * job ) "s:{s:{s:o, s:o, s:o, s:o}, s:[]}," // Metadata "s:{}," - // Filters {Grayscale, FilterList []} - "s:{s:o, s:[]}" + // Filters {FilterList []} + "s:{s:[]}" "}", "SequenceID", hb_value_int(job->sequence_id), "Destination", @@ -438,7 +438,6 @@ hb_dict_t* hb_job_to_dict( const hb_job_t * job ) "SubtitleList", "Metadata", "Filters", - "Grayscale", hb_value_bool(job->grayscale), "FilterList" ); if (dict == NULL) @@ -853,7 +852,7 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict ) // Comment, Genre, Description, LongDescription} "s?{s?s, s?s, s?s, s?s, s?s, s?s, s?s, s?s, s?s}," // Filters {FilterList} - "s?{s?b, s?o}" + "s?{s?o}" "}", "SequenceID", unpack_i(&job->sequence_id), "Destination", @@ -913,7 +912,6 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict ) "Description", unpack_s(&meta_desc), "LongDescription", unpack_s(&meta_long_desc), "Filters", - "Grayscale", unpack_b(&job->grayscale), "FilterList", unpack_o(&filter_list) ); if (result < 0) |