[sushi] gst: use the file URI instead of the path
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] gst: use the file URI instead of the path
- Date: Fri, 13 May 2011 21:37:03 +0000 (UTC)
commit 741ad68d9ff127d03e019bec16cfafac23d18890
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri May 13 17:26:55 2011 -0400
gst: use the file URI instead of the path
src/js/viewers/gst.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/viewers/gst.js b/src/js/viewers/gst.js
index c6f398e..6018fc1 100644
--- a/src/js/viewers/gst.js
+++ b/src/js/viewers/gst.js
@@ -40,7 +40,7 @@ GstRenderer.prototype = {
this._video =
new ClutterGst.VideoTexture({ "sync-size": false });
- this._video.set_filename(file.get_path());
+ this._video.set_uri(file.get_uri());
this._video.playing = true;
this._videoSizeChangeId =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]