projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ada36d
)
validate:launcher: Always set the protocol when creating a GstValidateMediaDescriptor
author
Thibault Saunier
<tsaunier@gnome.org>
Wed, 13 May 2015 13:30:23 +0000
(15:30 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Thu, 14 May 2015 13:56:57 +0000
(15:56 +0200)
Summary: Depends on D174
Reviewers: Mathieu_Du, gdesmott
Differential Revision: http://phabricator.freedesktop.org/D175
validate/launcher/baseclasses.py
patch
|
blob
|
history
diff --git
a/validate/launcher/baseclasses.py
b/validate/launcher/baseclasses.py
index
33b8b49
..
47cf201
100644
(file)
--- a/
validate/launcher/baseclasses.py
+++ b/
validate/launcher/baseclasses.py
@@
-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)