mirror of
https://github.com/iluvcapra/ptulsconv.git
synced 2025-12-31 08:50:48 +00:00
Fixed bug in marker tag application
This commit is contained in:
@@ -189,13 +189,13 @@ class TagInterpreter(Transformation):
|
||||
for marker in markers:
|
||||
marker_name_tags = self.parse_tags(marker['name'])
|
||||
marker_comment_tags = self.parse_tags(marker['comments'])
|
||||
effective_tags = marker_name_tags['tags'].update(marker_comment_tags['tags']) or dict()
|
||||
effective_tags = marker_name_tags['tags']
|
||||
effective_tags.update(marker_comment_tags['tags'])
|
||||
|
||||
if marker['location_decoded']['frame_count'] <= time:
|
||||
retval.update(effective_tags)
|
||||
else:
|
||||
break
|
||||
|
||||
return retval
|
||||
|
||||
def parse_tags(self, source):
|
||||
|
||||
Reference in New Issue
Block a user