summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuciana Fujii Pontello <luciana@fujii.eti.br>2010-06-24 22:21:34 (GMT)
committerLuciana Fujii Pontello <luciana@fujii.eti.br>2010-07-09 22:40:43 (GMT)
commit664bcea0f51e6ff88b96b2f1e53e0163195f2cd4 (patch)
tree29e926c4bf27d80937bb2745a4626bf8c31462cc
parent7d31bbef256eb421adead3bdf5ac5bffafa87360 (diff)
downloadsltv-664bcea0f51e6ff88b96b2f1e53e0163195f2cd4.tar.gz
sltv-664bcea0f51e6ff88b96b2f1e53e0163195f2cd4.tar.xz
sltv: Setting default size for watermark
If watermark size is not changed, it should be set to 0.5. Also removed the size printing.
-rw-r--r--sltv/sltv.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sltv/sltv.py b/sltv/sltv.py
index cbe2408..c2a5d17 100644
--- a/sltv/sltv.py
+++ b/sltv/sltv.py
@@ -102,7 +102,7 @@ class Sltv(gobject.GObject):
self.pending_state = None
self.watermark_location = None
- self.watermark_size = None
+ self.watermark_size = 0.5
self.watermark_selected = 0
self.input_type = 0
@@ -148,7 +148,6 @@ class Sltv(gobject.GObject):
if self.watermark_location:
self.watermark.set_property("location", self.watermark_location)
- print self.watermark_size
wm_width = self.watermark_size * video_width
wm_height = self.watermark_size * video_height