Skip to content

Commit

Permalink
expose the correct csc format
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 3, 2024
1 parent 1973b37 commit 9d7f74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/codecs/nvidia/nvenc/encoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2662,7 +2662,7 @@ cdef class Encoder:
self.free_memory, self.total_memory = driver.mem_get_info()

client_options = {
"csc" : CSC_ALIAS.get(self.src_format, self.src_format),
"csc" : CSC_ALIAS.get(self.pixel_format, self.pixel_format),
"frame" : int(self.frames),
"pts" : int(timestamp-self.first_frame_timestamp),
}
Expand Down

0 comments on commit 9d7f74b

Please sign in to comment.