更新UCD-API库及文档
This commit is contained in:
@@ -56,7 +56,7 @@ def video_frame_save_to_file(video_frame: Union[VideoFrame, VideoFrameDSC], path
|
||||
dsc_file.write(video_frame.data)
|
||||
return os.path.exists(path)
|
||||
else:
|
||||
if b'DSCF' not in video_frame.data:
|
||||
if b'DSCF' not in video_frame.data and not isinstance(video_frame, VideoFrameDSC):
|
||||
if video_frame.data_info.component_order == DataInfo.ComponentOrder.CO_UCDRX:
|
||||
data_info = DataInfo()
|
||||
color_info = ColorInfo()
|
||||
|
||||
Reference in New Issue
Block a user