[pitivi] elements: Remove AudioClipper



commit f93491d2954bdfa2349e32a14e8d14ec78c7eb0b
Author: Edward Hervey <bilboed bilboed com>
Date:   Tue Jul 27 17:46:58 2010 +0200

    elements: Remove AudioClipper
    
    It's not needed anymore now that bug #590265 is fixed

 pitivi/elements/Makefile.am     |    1 -
 pitivi/elements/audioclipper.py |  172 ---------------------------------------
 pitivi/elements/mixer.py        |    7 +-
 3 files changed, 2 insertions(+), 178 deletions(-)
---
diff --git a/pitivi/elements/Makefile.am b/pitivi/elements/Makefile.am
index 5976dc4..516c4d3 100644
--- a/pitivi/elements/Makefile.am
+++ b/pitivi/elements/Makefile.am
@@ -3,7 +3,6 @@ elementsdir = $(libdir)/pitivi/python/pitivi/elements
 elements_PYTHON = 		\
 	__init__.py 		\
 	arraysink.py 		\
-	audioclipper.py		\
 	imagefreeze.py 		\
 	mixer.py		\
 	singledecodebin.py 	\
diff --git a/pitivi/elements/mixer.py b/pitivi/elements/mixer.py
index 9971901..20bae4c 100644
--- a/pitivi/elements/mixer.py
+++ b/pitivi/elements/mixer.py
@@ -26,7 +26,6 @@ Audio and Video mixers
 import gobject
 import gst
 
-from pitivi.elements.audioclipper import ClipperProbe
 
 class SmartAdderBin(gst.Bin):
 
@@ -75,12 +74,10 @@ class SmartAdderBin(gst.Bin):
         adderpad = self.adder.get_request_pad("sink%d")
         aresample.get_pad("src").link(adderpad)
 
-        clipper = ClipperProbe(aresample.get_pad("src"))
-
         pad = gst.GhostPad(name, aconv.get_pad("sink"))
         pad.set_active(True)
         self.add_pad(pad)
-        self.inputs[name] = (pad, aconv, aresample, clipper, adderpad)
+        self.inputs[name] = (pad, aconv, aresample, adderpad)
         self.pad_count += 1
         return pad
 
@@ -88,7 +85,7 @@ class SmartAdderBin(gst.Bin):
         self.debug("pad:%r" % pad)
         name = pad.get_name()
         if name in self.inputs.keys():
-            sinkpad, aconv, aresample, clipper, adderpad = self.inputs.pop(name)
+            sinkpad, aconv, aresample, adderpad = self.inputs.pop(name)
             # we deactivate this pad to make sure that if ever the streaming
             # thread was doing something downstream (like getting caps) it will
             # return with GST_FLOW_WRONG_STATE and not GST_FLOW_NOT_LINKED (which is



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