Commit Graph

13 Commits

Author SHA1 Message Date
schmirl
992444cb67 Compatibility to VDR 1.7.1 (#483) 2008-10-13 11:30:05 +00:00
schmirl
f51d6eb2df - removed legacy code for pre VDR 1.4
- dropped patches for pre VDR 1.4
2008-04-07 14:27:27 +00:00
schmirl
518886b08b client_filter-data-handling.patch by Petri Hintukainen
- regonize PUSI flag in TS packets (bullet-proof section start+end indicator)
- Use own TS buffer to read directly from socket, no need for ring buffer anymore
- Re-activate all active filters after re-connection to server
- Simplify thread start/stop/running detection to current VDR style
- Update "filter closed by VDR" detection (datagram sockets
  return different errno's than pipes)
- Deliver data to first matching and active filter (do not drop data if first
  matching filter has been closed, there is quite likely new filter for it)
- Add disconnect detection to avoid 100% CPU usage in cTSBuffer::Action()
Modified Files:
	client/filter.c client/filter.h
2007-04-24 11:23:16 +00:00
schmirl
6dd3cc412e client_section-pipe-carbage-collector.patch by Petri Hintukainen
- Run section filter carbage collector when adding new filter.
  Carbage collector closes all filters that have already been
  closed by local VDR section handler.
  (without this, closed section filters are removed only when
  they receive data from server. If they wont, ...).
- Add locking to list handling (list is accessed from separate threads)
Modified Files:
	client/filter.c client/filter.h
2007-04-23 12:52:28 +00:00
schmirl
5f54824d3d Fixed whitespaces. No functional changes 2007-04-23 12:01:33 +00:00
schmirl
0a7608faba client_invalid-section-data_and_pipe-overflow.patch by Petri Hintukainen
- Reset section data unpacker only after first non-full TS packet
  (last TS packet of section is typically not full
- Do not close filter if socket buffer is full (EAGAIN, EWOULDBLOCK)
  (closing results in 100% CPU usage in VDR section handler)
2007-04-23 12:00:27 +00:00
schmirl
35bfac507b client_filter-close-fix.patch by Petri Hintukainen
- Do not close receiving side of section pipe. Ownership of handle
  has been transferred to VDR section handler when filter was opened.
  Closing handle twice results closing random file handle. If this
  handle is laready used by another section filter pipe (very likely),
  VDR section handler CPU usage will rise to 100%.
2007-04-23 11:33:26 +00:00
schmirl
c515e82f04 Fixed typos 2007-04-23 11:30:55 +00:00
schmirl
130d7dcc08 client_section-filter-socket.patch by Petri Hintukainen
- Use datagram mode socket instead of pipe to feed
  section data to client VDR section handler
-> preserve section data block boundaries
2007-04-23 11:25:59 +00:00
schmirl
313da9682d client_filter-visibility.patch by Petri Hintukainen
- Move cStreamdevFilter definition from filter.h to filter.c
- Add IsClosed() and Reset() members to cStreamdevFilter:
  * IsClosed() returns true if filter was closed by VDR
  * Reset() discards (incomplete) queued section data

Modified Files:
	client/filter.c client/filter.h
2007-04-23 11:23:15 +00:00
lordjaxom
0b590ec826 - adopted to VDR >= 1.3.36 2005-11-06 16:43:58 +00:00
lordjaxom
8e4556b0a9 - first adoptions (transfer-commit) 2005-02-08 13:59:16 +00:00
lordjaxom
302fa2e672 Initial revision 2004-12-30 22:43:55 +00:00