Skip to content

Commit 38616d4

Browse files
committed
Fix missing property in from_dlpack
1 parent cdd32eb commit 38616d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

av/video/frame.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,6 +1600,7 @@ def from_dlpack(
16001600
m1 = cython.NULL
16011601

16021602
frame._init_user_attributes()
1603+
frame._device_id = device_id
16031604
return frame
16041605

16051606
except Exception:

0 commit comments

Comments
 (0)