Skip to content

Commit

Permalink
#511 expose the subsampling used
Browse files Browse the repository at this point in the history
not the 'colorspace' - this is all a bit confusing really: conflating different things into a single string used for different purposes..
  • Loading branch information
totaam committed Feb 22, 2025
1 parent 1fed2e3 commit e288be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/codecs/amf/encoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ cdef class Encoder:
pic_in[i] = <uint8_t *> py_buf[i].buf
strides[i] = istrides[i]
return self.do_compress_image(pic_in, strides), {
"csc" : self.src_format,
"csc" : {"NV12": "YUV420P"}.get(self.src_format, self.src_format),
"frame" : int(self.frames),
"full-range" : bool(full_range),
#"quality" : min(99+self.lossless, self.quality),
Expand Down

0 comments on commit e288be2

Please sign in to comment.