[pitivi] render: Fix uri of rendered project

commit 704c85a8ff03372b9e401bbf8670be84e458a162
Author: Stefan Popa <stefanpopa2209 gmail com>
Date:   Sat Aug 5 11:46:33 2017 +0300

    render: Fix uri of rendered project
    Make sure the uri of the rendered project is correct when playing it.
    The RenderDialog.outfile is already an uri, so we don't have to call
    Gst.filename_to_uri on it.
    Fixes T7804.
    Reviewed-by: Alex Băluț <alexandru balut gmail com>
    Differential Revision: https://phabricator.freedesktop.org/D1820

 pitivi/render.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/pitivi/render.py b/pitivi/render.py
index 0756661..019939e 100644
--- a/pitivi/render.py
+++ b/pitivi/render.py
@@ -370,8 +370,7 @@ class RenderingProgressDialog(GObject.Object):
     def _playRenderedFileButtonClickedCb(self, unused_button):
-        uri = Gst.filename_to_uri(self.main_render_dialog.outfile)
-        Gio.AppInfo.launch_default_for_uri(uri, None)
+        Gio.AppInfo.launch_default_for_uri(self.main_render_dialog.outfile, None)
 class RenderDialog(Loggable):

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]