summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Farnsworth <simon.farnsworth@onelan.co.uk>2007-05-02 17:31:11 +0100
committerSimon Farnsworth <simon.farnsworth@onelan.co.uk>2007-05-02 17:31:11 +0100
commitf7bd2c6ee4e3f066248e087cbf5f97a21103ebd1 (patch)
treeac0845fcae655312f4b16869da30562be7ed9c61 /doc
parent84133d2fad4c392de75d41d88a19850734ea5523 (diff)
downloadxine-lib-f7bd2c6ee4e3f066248e087cbf5f97a21103ebd1.tar.gz
xine-lib-f7bd2c6ee4e3f066248e087cbf5f97a21103ebd1.tar.bz2
[PATCH] Remove packet count from demux_ts, to remove a long delay
The attached patch applies after my logging patches (I can regenerate if needed). demux_ts attempted to read packets from the input 200 times before giving up. When playing a local file, this is harmless, as it will hit EOF 200 times; however, input_dvb waits 5 seconds for packets on each call to read, resulting in a 1000 second delay if tuning fails. Remove the counting of input packets, and add a comment to read() in input_plugin.h, to indicate that we expect inputs to try and return some data when read() is called. This fixes the delay, and makes it clear to future maintainers that they shouldn't expect to loop like this. -- Simon Farnsworth
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions