summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-02-10 16:01:27 (GMT)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-02-10 16:01:27 (GMT)
commit00e82bcf8db3116bf83a76dd9bc08b390f000d38 (patch)
tree6b6439cd5281be08e23ea614549ce351f5240a08
parent621676fb3a1cef796e70e13a0e83200dfe9baf7c (diff)
downloadsltv-00e82bcf8db3116bf83a76dd9bc08b390f000d38.tar.gz
sltv-00e82bcf8db3116bf83a76dd9bc08b390f000d38.tar.xz
Force the ximage input to use 800x600 for our beamer
-rw-r--r--sltv/input/xinput.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sltv/input/xinput.py b/sltv/input/xinput.py
index 156eb23..51e317e 100644
--- a/sltv/input/xinput.py
+++ b/sltv/input/xinput.py
@@ -39,6 +39,8 @@ class XInput(Input):
self.video_src.set_format(gst.FORMAT_TIME)
self.video_src.set_property("use-damage", False)
+ self.video_src.set_property("endx", 800)
+ self.video_src.set_property("endy", 600)
self.add(self.video_src)
self.capsfilter = gst.element_factory_make("capsfilter", "capsfilter")