mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
validate:launcher: Always set the protocol when creating a GstValidateMediaDescriptor
Summary: Depends on D174 Reviewers: Mathieu_Du, gdesmott Differential Revision: http://phabricator.freedesktop.org/D175
This commit is contained in:
parent
4ada36dbfc
commit
dc2f4f11c6
1 changed files with 2 additions and 0 deletions
|
@ -1566,6 +1566,8 @@ class GstValidateMediaDescriptor(MediaDescriptor):
|
|||
self.media_xml.attrib["duration"]
|
||||
self.media_xml.attrib["seekable"]
|
||||
|
||||
self.set_protocol(urlparse.urlparse(urlparse.urlparse(self.get_uri()).scheme).scheme)
|
||||
|
||||
@staticmethod
|
||||
def new_from_uri(uri, verbose=False, full=False):
|
||||
media_path = utils.url2path(uri)
|
||||
|
|
Loading…
Reference in a new issue