Skip to content

Commit

Permalink
#4345 nvenc produces frames with bigger padding now
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Sep 4, 2024
1 parent af48f33 commit 353e5ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/codecs/openh264/decoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ cdef class Decoder:
cdef int wdelta = width - self.width
cdef int hdelta = height - self.height
if abs(wdelta) > 1 or abs(hdelta) > 1:
if (wdelta & 0xfff0) > 0 or (hdelta & 0xffff0) > 0:
if (wdelta & 0xffe0) > 0 or (hdelta & 0xfffe0) > 0:
log.warn("Warning: image bigger than expected")
log.warn(f" {width}x{height} instead of {self.width}x{self.height}")
pixels = (
Expand Down

0 comments on commit 353e5ca

Please sign in to comment.