Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/gen_profiles_solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -3979,9 +3979,6 @@ def parseVideoEnums(self, videoxml):
self.externalTypes.remove(name)

def parseVideoCodecs(self, xml, videoxml):
if videoxml is None:
return

self.videoCodecs = dict()

# Used to look up video codecs based on the video codec op value
Expand All @@ -3990,6 +3987,9 @@ def parseVideoCodecs(self, xml, videoxml):
# Used to reverse look up video codecs by the defined structure names if no video codec op value is available
self.videoCodecsByStructName = dict()

if videoxml is None:
return

self.parseVideoConstants(videoxml)
self.parseVideoEnums(videoxml)

Expand Down