Barracuda09 / SATPI

SATIP server for linux, suitable to run on an Raspberry Pi, Vu+, GigaBlue or any other linux box. currently supporting DVB-S/S2/T/C and transform DVB-S requests to DVB-C
http://barracuda09.github.io/SATPI
GNU General Public License v2.0
155 stars 32 forks source link

Refactoring of internal pid filtering #171

Closed lars18th closed 2 years ago

lars18th commented 2 years ago

Promote the virtual functions Device::updatePIDFilters() and Device::closeActivePIDFilters() with a default (simple) functionality. Then the same code could be reused if the concrete device doesn't needs to execute internal changes when a filter pid is changed.

lars18th commented 2 years ago

Hi @Barracuda09 ,

With this change it will be more easy to add internal pid filtering to files and other new inputs.

I hope you agree with it.

Barracuda09 commented 2 years ago

Hi @lars18th

Yes thanks, this is a very nice solution. I will merge as soon as possible.