[pitivi] undo: Fix 'Adding assets' action for proxied assets.
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] undo: Fix 'Adding assets' action for proxied assets.
- Date: Sat, 23 Apr 2016 15:39:10 +0000 (UTC)
commit 28f22083c5b13715e85f05ec0c6c315d58781310
Author: Fabian Orccon <fabian orccon pucp pe>
Date: Mon Apr 18 20:15:07 2016 +0000
undo: Fix 'Adding assets' action for proxied assets.
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D916
pitivi/project.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 05ceb63..4c90fb1 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -963,6 +963,7 @@ class Project(Loggable, GES.Project):
num_loading_assets = len(self.loading_assets)
if num_loading_assets == 0:
+ self.app.action_log.commit("Adding assets")
self.emit("asset-loading-progress", 100, estimated_time)
return
@@ -1099,9 +1100,6 @@ class Project(Loggable, GES.Project):
if self.loaded:
if not asset.get_proxy_target() in self.list_assets(GES.Extractable):
self.app.proxy_manager.addJob(asset, asset.force_proxying)
-
- if not self.loading_assets:
- self.app.action_log.commit("Adding assets")
else:
self.debug("Project still loading, not using proxies: "
"%s", asset.props.id)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]