Skip to content

EDL with offset record time breaks trimmed_range_in_parent. #346

Open
@alatdneg

Description

@alatdneg

I'm assuming I've not done anything silly...

This EDLl causes this issue,

    parent_range = self.clip.trimmed_range_in_parent()
  File "/tools/SITE/python/opentimelineio/core/item.py", line 124, in trimmed_range_in_parent
    return self.parent().trimmed_range_of_child(self)
  File "/tools/SITE/python/opentimelineio/core/composition.py", line 379, in trimmed_range_of_child
    result_range.start_time
AttributeError: 'NoneType' object has no attribute 'start_time'
TITLE:   Ep101_090418_12b.Sub.01 
FCM: NON-DROP FRAME
000001  B007_C007_05245V_001             V     C        14:48:20:03 14:48:21:21 01:04:52:15 01:04:54:09 
*FROM CLIP NAME:  12B-09 (B) 
*LOC: 01:04:52:15 RED     TB_101_012_040 
*ASC_SOP (1.000000 1.000000 1.000000)(0.000000 0.000000 0.000000)(1.000000 1.000000 1.000000) 
*ASC_SAT 1.000000 
*SOURCE FILE: B007_C007_05245V_001
000002  B007_C007_05245V_001             V     C        14:48:41:19 14:48:49:11 01:05:10:12 01:05:18:04 
*FROM CLIP NAME:  12B-09 (B) 
*LOC: 01:05:10:12 RED     TB_101_012_070 
*ASC_SOP (1.000000 1.000000 1.000000)(0.000000 0.000000 0.000000)(1.000000 1.000000 1.000000) 
*ASC_SAT 1.000000 
*SOURCE FILE: B007_C007_05245V_001

Metadata

Metadata

Assignees

Labels

bugA problem, flaw, or broken functionality.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions