bitwhip icon indicating copy to clipboard operation
bitwhip copied to clipboard

Bug: fix player texture upload stride mismatch

Open ash30 opened this issue 5 months ago • 0 comments

On certain display sizes, anytime the stride length included some padding, av_image_copy_to_buffer would crash because it seems create_texture_streaming isn't including the padding in ITS buffer, so we write past the end.

My current solution is to manually implement the copy, trimming padding. It seems to work, but not a video expert, so definitely open to feedback here

ash30 avatar Jul 31 '25 22:07 ash30