mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +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()
|
media_xml = ET.parse(descriptor_path).getroot()
|
||||||
|
|
||||||
include_frames = bool(int(media_xml.attrib["frame-detection"]))
|
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")
|
args.append("--skip-parsers")
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue