mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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:
|
try:
|
||||||
return GstValidateMediaDescriptor(descriptor_path)
|
return GstValidateMediaDescriptor(descriptor_path)
|
||||||
except FileNotFoundError:
|
except (IOError, xml.etree.ElementTree.ParseError):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def get_path(self):
|
def get_path(self):
|
||||||
|
|
Loading…
Reference in a new issue