mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
validate:launcher: Fix getting skip-parser when generating media descriptor
On old version it didn't exist
This commit is contained in:
parent
19dfd63408
commit
06b8f23a34
1 changed files with 1 additions and 1 deletions
|
@ -2376,7 +2376,7 @@ class GstValidateMediaDescriptor(MediaDescriptor):
|
|||
media_xml = ET.parse(descriptor_path).getroot()
|
||||
|
||||
include_frames = bool(int(media_xml.attrib["frame-detection"]))
|
||||
if bool(int(media_xml.attrib.get("skip-parsers"))):
|
||||
if bool(int(media_xml.attrib.get("skip-parsers", 0))):
|
||||
args.append("--skip-parsers")
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue