diff options
author | Daniel Drake <dsd@laptop.org> | 2008-08-11 17:29:25 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2008-08-29 20:18:13 (GMT) |
commit | aa7d58383545b390c164c45359619338dca68b8f (patch) | |
tree | a763f4e08363d137d1284d882fe634cb136990c2 | |
parent | 56a0c98b10dfa3bfcf788d9b3d6d0f5fe6ac5dd2 (diff) |
Make glivex leak data
If we fall behind it doesn't matter, we want to spend the available
resources on video playback
-rw-r--r-- | glivex.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -72,6 +72,9 @@ class GliveX: pass queue = gst.element_factory_make("queue", "dispqueue") + queue.set_property("leaky", True) + queue.set_property('max-size-buffers', 1) + scale = gst.element_factory_make("videoscale", "scale") scalecaps = gst.Caps('video/x-raw-yuv,width='+str(ui.UI.dim_PIPW)+',height='+str(ui.UI.dim_PIPH)) colorspace = gst.element_factory_make("ffmpegcolorspace", "colorspace") |