launcher: Avoid exceptions when inspecting renders files

We were a bit to strict on the Exception types which lead to
the launcher failling itself when it shouldn't
This commit is contained in:
Thibault Saunier 2017-08-14 16:39:56 -03:00
parent a0ff0095b5
commit cb99482b9a

View file

@ -2077,7 +2077,7 @@ class GstValidateMediaDescriptor(MediaDescriptor):
try:
return GstValidateMediaDescriptor(descriptor_path)
except FileNotFoundError:
except (IOError, xml.etree.ElementTree.ParseError):
return None
def get_path(self):