[sushi] Revert "Revert "gst: use the file URI instead of the path""



commit bc0100d7c28f05d799e06749b347589aad2d1455
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Jul 2 01:01:21 2011 -0400

    Revert "Revert "gst: use the file URI instead of the path""
    
    This reverts commit a24938e706fddc06f3883a4f1bb81b60234b81f9.

 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 9dd4be2..7b4eb29 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]