Skip to content

Commit

Permalink
Merge pull request #124 from sundermann/nv12
Browse files Browse the repository at this point in the history
Keep HDR always active
  • Loading branch information
sundermann authored Dec 9, 2024
2 parents a27ad43 + 289ca60 commit f45cff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json_rpc_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ int set_hdr_state(char* host, ushort rpc_port, DynamicRange range)
jvalue_ref post_body = jobject_create();

jobject_set(post_body, j_cstr_to_buffer("command"), jstring_create("videomodehdr"));
jobject_set(post_body, j_cstr_to_buffer("HDR"), jnumber_create_i32(range == SDR ? 0 : 1));
jobject_set(post_body, j_cstr_to_buffer("HDR"), jnumber_create_i32(1));

const char* lut_filename = "";
switch (range) {
Expand Down

0 comments on commit f45cff0

Please sign in to comment.