Skip to content

Commit 5b78bcc

Browse files
authored
fix incomplete FfiRequest when converting video frames (#299)
1 parent 8ff46ca commit 5b78bcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

livekit-rtc/livekit/rtc/video_frame.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def _proto_info(self) -> proto_video.VideoBufferInfo:
116116
info.height = self.height
117117
info.type = self.type
118118
info.data_ptr = addr
119+
info.stride = 0
119120

120121
if self.type in [
121122
proto_video.VideoBufferType.ARGB,

0 commit comments

Comments
 (0)