mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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:
parent
a0ff0095b5
commit
cb99482b9a
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue