[pitivi] previewers: Compare quoted URI to create symlink to thumbnails db
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] previewers: Compare quoted URI to create symlink to thumbnails db
- Date: Sat, 19 Aug 2017 02:00:36 +0000 (UTC)
commit be84119c3aad63a83a075711982bd1ba24675e76
Author: Thibault Saunier <tsaunier gnome org>
Date: Fri Aug 18 22:55:58 2017 -0300
previewers: Compare quoted URI to create symlink to thumbnails db
Nothing guarantess that GES.Element.props.uri is quoted, but we make
sure self.uri is quoted, so we sometime would end up symlinking
circularly the thumbnail database.
pitivi/timeline/previewers.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/previewers.py b/pitivi/timeline/previewers.py
index a24e8aa..ed511a1 100644
--- a/pitivi/timeline/previewers.py
+++ b/pitivi/timeline/previewers.py
@@ -707,7 +707,7 @@ class VideoPreviewer(Previewer, Zoomable, Loggable):
def _ensure_proxy_thumbnails_cache(self):
"""Ensures that both the target asset and the proxy assets have caches."""
- uri = self.ges_elem.props.uri
+ uri = quote_uri(self.ges_elem.props.uri)
if self.uri != uri:
self.thumb_cache.copy(uri)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]