更新UCD-API库及文档

This commit is contained in:
xinzhu.yin
2026-07-02 17:16:18 +08:00
parent a500751d85
commit 9fa811a9eb
290 changed files with 9558 additions and 2306 deletions

View File

@@ -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()