summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>2007-07-12 11:29:42 +0100
committerSimon Farnsworth <simon.farnsworth@onelan.co.uk>2007-07-12 11:29:42 +0100
commit33d32c6238d0d5d9ae00a2fee6bba2c987ff0f21 (patch)
tree55390bf452acab3e73c37eb5ba162a66644e4da2 /NEWS
parent7cb04769574d9ef849ca7a7bd4da45671639eb77 (diff)
downloadxine-lib-33d32c6238d0d5d9ae00a2fee6bba2c987ff0f21.tar.gz
xine-lib-33d32c6238d0d5d9ae00a2fee6bba2c987ff0f21.tar.bz2
Fix thread leak in DVB subtitles, and enhance spec compliance
When leaving xine playing DVB with subtitles for a long period of time, I noticed a gradual increase in memory use, caused by it creating more and more timeout threads. In addition, the existing thread was not safe w.r.t destruction of the decoder, and would occasionally segfault xine. Further, EN 300 743 states that the timeout should be sent by the broadcaster; the existing thread had a constant 6 second timeout, whereas (e.g.) BBC NEWS 24 subtitles are broadcast with a 15 second timeout. In theory, this could result in subtitles being hidden in error. This rework changes the thread to pick up a timeout set by draw_subtitles; in addition, it uses pthread condition variables to avoid any need to kill and recreate the thread.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions