[pitivi] render: Remove unused signal handler
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] render: Remove unused signal handler
- Date: Fri, 12 Aug 2016 18:20:45 +0000 (UTC)
commit 232707970e15be6ac05f3b9087a39c75f39a4739
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Fri Aug 12 19:37:05 2016 +0200
render: Remove unused signal handler
Does not fix the original problem, but works around it.
Fixes https://phabricator.freedesktop.org/T7539
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1283
pitivi/render.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/render.py b/pitivi/render.py
index 8aee2f9..e080a59 100644
--- a/pitivi/render.py
+++ b/pitivi/render.py
@@ -115,8 +115,6 @@ class Encoders(Loggable):
# We have to initialize the instance here, otherwise
# __init__ is called every time we use Encoders().
Loggable.__init__(cls._instance)
- Gst.Registry.get().connect(
- "feature-added", cls._instance._registry_feature_added_cb)
cls._instance._load_encoders()
cls._instance._load_combinations()
return cls._instance
@@ -220,10 +218,6 @@ class Encoders(Loggable):
factory in self.supported_aencoders or\
factory in self.supported_vencoders
- def _registry_feature_added_cb(self, registry, feature):
- # TODO Check what feature has been added and update our lists
- pass
-
def beautify_factory_name(factory):
"""Returns a nice name for the specified Gst.ElementFactory instance.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]