~ubuntu-branches/ubuntu/oneiric/pitivi/oneiric

« back to all changes in this revision

Viewing changes to pitivi/factories/test.py

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-07-07 13:43:47 UTC
  • mfrom: (1.5.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110707134347-igqfkpw4jhekj88j
Tags: 0.14.1-0ubuntu1
* New upstream version
* debian/control: 
  - clean the python-glade depends, the new version uses gtkbuilder
* debian/rules: drop hack which doesn't apply to the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
1
# PiTiVi , Non-linear video editor
3
2
#
4
3
#       base.py
18
17
#
19
18
# You should have received a copy of the GNU Lesser General Public
20
19
# License along with this program; if not, write to the
21
 
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
 
# Boston, MA 02111-1307, USA.
 
20
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 
21
# Boston, MA 02110-1301, USA.
23
22
 
24
23
import gst
25
24
from pitivi.factories.base import SourceFactory
26
25
from pitivi.factories.operation import EffectFactory
27
26
from pitivi.stream import VideoStream, AudioStream
28
27
 
 
28
 
29
29
class VideoTestSourceFactory(SourceFactory):
30
30
    def __init__(self, pattern=0):
31
31
        SourceFactory.__init__(self, "videotestsrc://")
70
70
    def _releaseBin(self, bin):
71
71
        pass
72
72
 
 
73
 
73
74
class AudioTestSourceFactory(SourceFactory):
74
75
    def __init__(self, wave=0):
75
76
        SourceFactory.__init__(self, "audiotestsrc://")