Skip to content

Commit

Permalink
tweak appsink:
Browse files Browse the repository at this point in the history
* do drop buffers in case we somehow fail to pick them up in time (since we have "max-buffers" set)
* we don't care about syncing (we don't have a real sink in the pipeline)
* we don't want async events

git-svn-id: https://xpra.org/svn/Xpra/trunk@9528 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 27, 2015
1 parent 7a3c4a7 commit e373849
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/xpra/sound/src.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ def __init__(self, src_type=None, src_options={}, codecs=CODECS, codec_options={
self.volume = self.pipeline.get_by_name("volume")
self.sink = self.pipeline.get_by_name("sink")
self.sink.set_property("emit-signals", True)
self.sink.set_property("max-buffers", 10) #0?
self.sink.set_property("drop", False)
self.sink.set_property("sync", True) #False?
self.sink.set_property("max-buffers", 10)
self.sink.set_property("drop", True)
self.sink.set_property("sync", False)
self.sink.set_property("async", False)
self.sink.set_property("qos", False)
try:
#Gst 1.0:
Expand Down

0 comments on commit e373849

Please sign in to comment.