[pitivi] Discoverer: unbreak to accept any kind of raw video
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] Discoverer: unbreak to accept any kind of raw video
- Date: Wed, 24 Jun 2009 14:28:01 +0000 (UTC)
commit 09cb4a2ff1782bc46384f695cf261b581a7235bc
Author: Edward Hervey <bilboed bilboed com>
Date: Wed Jun 24 16:26:46 2009 +0200
Discoverer: unbreak to accept any kind of raw video
pitivi/discoverer.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/discoverer.py b/pitivi/discoverer.py
index ccfcf2b..2692bb8 100644
--- a/pitivi/discoverer.py
+++ b/pitivi/discoverer.py
@@ -489,9 +489,9 @@ class Discoverer(Signallable, Loggable):
self.dynamic_elements.extend([queue, vscale, csp, pngenc, pngsink])
self.pipeline.add(queue, vscale, csp, pngenc, pngsink)
- queue.link(vscale)
- vscale.link(csp, gst.Caps("video/x-raw-rgb,width=[1,96],height=[1,96];video/x-raw-yuv,width=[1,96],height=[1,96]"))
- gst.element_link_many(csp, pngenc, pngsink)
+ gst.element_link_many(queue, csp, vscale)
+ vscale.link(pngenc, gst.Caps("video/x-raw-rgb,width=[1,96],height=[1,96];video/x-raw-yuv,width=[1,96],height=[1,96]"))
+ gst.element_link_many(pngenc, pngsink)
pad.link(queue.get_pad("sink"))
for element in [queue, vscale, csp, pngenc, pngsink]:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]