manio / vdr-plugin-dvbapi

VDR dvbapi plugin for use with OSCam
http://www.streamboard.tv/wbb2/thread.php?threadid=40060
GNU General Public License v2.0
58 stars 25 forks source link

DeCSAFillControl: adjust for small device buffers #106

Closed glenvt18 closed 8 years ago

glenvt18 commented 8 years ago

Hi @manio.

satip and iptv plugins use 1MB device's ring buffers. So, I've made some changes for a "safer" sleep in such cases. Tested with a 1MB dvb device on ARM and x86_64. TS streams up to 24 Mbit/s worked pretty well. But they (those plugins authors) should consider increasing the buffer size if those plugins are expected to work with dvbapi at high bit rates. It's not only about overflows, but also a performance issue. Maybe it's worth adding a statement for a device writers to the README file saying, that if a device is meant to be used with this plugin, it should have a ring buffer of size 5 MB or more.

manio commented 8 years ago

I see, thank you again for this PR. Yes, I'll add the note in the readme in a moment. Merging.