Commit Graph

176 Commits

Author SHA1 Message Date
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
e55981c9e1 client_device.patch by Petri Hintukainen
- Implement virtual IsTunedToTransponder()
- Return true from Provides... functions
Modified Files:
	client/device.c client/device.h
2007-04-23 11:42:16 +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
schmirl
3ceb716ea9 Use compiler flag -Wall. Cleanup code as necessary.
(#171 Thanks to Rolf Ahrenberg)
Modified Files:
	Makefile streamdev-server.c server/connection.h
	server/connectionHTTP.c server/connectionVTP.c tools/source.c
2007-04-16 11:01:02 +00:00
schmirl
69b754bef9 Close pipe when externremux.sh is gone. Fixes high CPU load problem (#235) 2007-04-02 10:35:29 +00:00
schmirl
525574f9b0 Close connection when client is gone. Fixes high CPU load problem (#201)
Modified Files:
	server/connection.h server/connectionHTTP.h
	server/connectionVTP.h server/server.c server/streamer.c
	server/streamer.h tools/select.c tools/select.h tools/source.c
2007-04-02 10:32:34 +00:00
schmirl
cd7d4e3588 Silence warning about overloaded namespace (#244, thanks to rofafor) 2007-03-19 12:06:13 +00:00
schmirl
87e24499e3 Silence warnings caused by implicit casts between uint8_t and char.
In most places casting was easy to avoid as the variables have been
casted forth and back between both data types. Anyway - the affected
functions are never used by streamdev.
2007-03-19 12:05:25 +00:00
schmirl
1e9e200e8a Fixed null pointers 2007-03-02 15:27:07 +00:00
schmirl
59a4969b3f Fixed indenting - no code change 2007-02-19 12:09:30 +00:00
schmirl
e86d019878 Added commandline switch -r/--remux for specifying name of externremux script (thanks to Rolf Ahrenberg)
Modified Files:
	streamdev-server.c streamdev-server.h remux/extern.c
	remux/extern.h
2007-02-19 12:08:16 +00:00
schmirl
e3a4418453 Compatibility for vdr < 1.3.38 (#169) 2007-01-15 12:15:12 +00:00
schmirl
335660b62c API changes of VDR 1.5.0 (#219)
Modified Files:
	server/connection.c server/livestreamer.c
	server/livestreamer.h
2007-01-15 12:00:19 +00:00
schmirl
970bf59cc2 Indenting - no code changes 2007-01-15 11:45:48 +00:00
schmirl
56571d5879 Log throttle for connection failure messages (#183) 2007-01-15 11:41:46 +00:00
schmirl
ab342d37b3 Replace uint64 by uint64_t (#200) 2007-01-15 11:36:37 +00:00
schmirl
1f3a3c1291 Avoid loop/deadlock when two VDRs mutually share there DVB cards, i.e.
both are streamdev-server and streamdev-client (#198).

Bigpatch version by p_body@vdrportal
Added Files:
	patches/vdr-1.4.3-recursion_bigpatch.diff
	patches/vdr-1.4.3-recursion.diff
2007-01-11 11:48:23 +00:00
schmirl
7bec543960 - Updated for VDR 1.4
- Moved the changes a litte bit around so that it shouldn't be affected by VDR changes that easy.
- Changed menu item texts
2007-01-11 11:44:01 +00:00
schmirl
1c0f73a09b Devices are expected to honour the CA field. Without this patch there
is no way to tell a VDR that it may not use streamdev for a specific
channel.
2007-01-11 11:39:08 +00:00
schmirl
7c300e2a12 Cache translation in cPluginStreamdevServer::Active() as this method
may be called very often. Though tr() is not producing too much overhead
it is not neglectible either. If the actual translation is missing,
the resulting syslog messages will become annoying.

Note that the current OSD language is not monitored. Changes won't be
reflected until the next restart.

Thanks to Urig for the patch (#197).
2006-11-24 11:45:36 +00:00
schmirl
11f4a0c6e1 Use select with timeout and check if streamdev-server has to shutdown
(#135). Thanks to Urig@vdrportal
2006-11-10 11:52:41 +00:00
schmirl
83dd64f68a - collect terminated externremux.sh processes (#136)
- avoid fd leaks when we fail to spawn externremux.sh
2006-10-05 06:03:23 +00:00
schmirl
06265bab7b - detach all receivers before tuning to different transponder. Otherwise ABRT will be sent after tuning, which will destroy the LiveStreamer on the server. 2006-09-14 10:43:10 +00:00
schmirl
610719625a Re-enabled logging for the Detach()/Attach() issue which is still under observation 2006-09-14 10:38:22 +00:00
schmirl
fc050db7ce Added -fPIC compiler flag required on AMD64 architectures 2006-09-14 10:30:16 +00:00
thomas
d437c23550 Updated finnish translation against current cvs.
Finnish translation update 20060729

"Fixed" Bug http://www.vdr-developer.org/mantisbt/view.php?id=130

Update kindly provided by rofafor!
2006-08-17 09:26:00 +00:00
thomas
03a836a3ed Wieder mal ein Test 2006-08-07 16:24:27 +00:00
thomas
c3ad1f33e1 *** empty log message *** 2006-08-06 20:30:06 +00:00
thomas
afd3532893 Finaler Test neues CommitInfo System 2006-08-06 20:27:52 +00:00
thomas
e30e52bbb5 Finaler Test Neues CommitInfo System 2006-08-06 20:25:39 +00:00
thomas
5fcfb46878 *** empty log message *** 2006-08-06 20:21:54 +00:00
thomas
6d8349a92b Nächster Test 2006-08-06 20:21:17 +00:00
thomas
62f1ebd554 Nochmal ein Test von CVSSpam 2006-08-06 20:19:54 +00:00
thomas
e62ad3613d Test 2006-08-06 17:23:17 +00:00
thomas
453640ede4 CVS Test 2006-08-06 16:54:31 +00:00
thomas
7c8e59a917 Now preventing fd leaks.
Fix kindly provided by Artur Skawina: http://www.linuxtv.org/pipermail/vdr/2006-May/009342.html
Closing bug: http://www.vdr-developer.org/mantisbt/view.php?id=115
2006-07-24 17:50:54 +00:00
thomas
01752a66d6 Auskommentiertes Attach/Detach wieder aktiviert.
Kartenblockade wird dadurch behoben und alle Channels lassen sich anzappen, Unbedenklichkeit ist aber nicht einwandfrei geklärt!
2006-07-05 20:39:19 +00:00
thomas
434b91fa61 Anpassung an API 1.4.x 2006-07-05 20:37:17 +00:00
thomas
03a90ebefe Anpassung an geänderte API 2006-07-05 20:36:58 +00:00
thomas
2179180564 Plugin active i18n für 1.4.x eingebaut 2006-07-05 20:36:11 +00:00
thomas
c36434a83f Anapssung an VDR 1.4.x 2006-07-05 20:35:24 +00:00
lordjaxom
bf29388e02 - fixed http error response 2006-01-26 19:40:18 +00:00
lordjaxom
8634d82123 - added class forward declaration for gcc >= 4.0 2005-11-07 19:28:41 +00:00
lordjaxom
0b590ec826 - adopted to VDR >= 1.3.36 2005-11-06 16:43:58 +00:00
thomas
bf55805cc2 Dazugefügt. Jetzt auch mit i18n :-) 2005-05-12 18:56:50 +00:00
lordjaxom
321ac81a66 - added finnish translations (thanks to Rolf Ahrenberg) 2005-05-10 21:02:24 +00:00