[pitivi] ImageFreeze: Remove and use imagefreeze from GStreamer
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] ImageFreeze: Remove and use imagefreeze from GStreamer
- Date: Tue, 27 Jul 2010 14:20:35 +0000 (UTC)
commit 6e9596ba2619ec194e1b6b3477a6d54a0e5008b9
Author: Robert Swain <robert swain collabora co uk>
Date: Mon Jul 26 19:53:29 2010 +0200
ImageFreeze: Remove and use imagefreeze from GStreamer
https://bugzilla.gnome.org/show_bug.cgi?id=613416
pitivi/elements/imagefreeze.py | 310 ----------------------------------------
pitivi/factories/file.py | 3 +-
tests/test_factories_file.py | 1 -
3 files changed, 1 insertions(+), 313 deletions(-)
---
diff --git a/pitivi/factories/file.py b/pitivi/factories/file.py
index 1fd6ebf..fca5f2f 100644
--- a/pitivi/factories/file.py
+++ b/pitivi/factories/file.py
@@ -26,7 +26,6 @@ import os
from pitivi.factories.base import RandomAccessSourceFactory, \
SinkFactory
-from pitivi.elements.imagefreeze import ImageFreeze
from pitivi.stream import MultimediaStream, AudioStream, VideoStream
class FileSourceFactory(RandomAccessSourceFactory):
@@ -57,7 +56,7 @@ class PictureFileSourceFactory(FileSourceFactory):
def _makeStreamBin(self, output_stream, child_bin=None):
self.debug("making picture bin for %s", self.name)
- freeze = ImageFreeze()
+ freeze = gst.element_factory_make("imagefreeze")
self.debug("Chaining up with %r", freeze)
diff --git a/tests/test_factories_file.py b/tests/test_factories_file.py
index e2e0f48..8d8d35c 100644
--- a/tests/test_factories_file.py
+++ b/tests/test_factories_file.py
@@ -25,7 +25,6 @@ from common import TestCase
from pitivi.factories.file import FileSourceFactory, PictureFileSourceFactory
from pitivi.stream import AudioStream, VideoStream
-from pitivi.elements.imagefreeze import ImageFreeze
class StubSingleDecodeBin(gst.Bin):
def __init__(self, uri, caps, stream):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]