]> git.sesse.net Git - vlc/log
vlc
17 years agoChanged input_DestroyThread to take care of detaching, cleaning and destroying input.
Laurent Aimar [Wed, 21 Feb 2007 23:15:06 +0000 (23:15 +0000)]
Changed input_DestroyThread to take care of detaching, cleaning and destroying input.
(This way it matches input_CreateThread and fixes a memleak)
Control variables are now created even for preparse, only callback are not added.
(This fix use of uninitialized variables)

17 years agoCompile fix
Christophe Mutricy [Wed, 21 Feb 2007 23:07:04 +0000 (23:07 +0000)]
Compile fix

17 years agoFixed compilation of v4l2 + refuse to initialize unless it is forced.
Laurent Aimar [Wed, 21 Feb 2007 23:02:56 +0000 (23:02 +0000)]
Fixed compilation of v4l2 + refuse to initialize unless it is forced.

17 years agoFixed memory leak at each new PMT if we don't have CAM.
Laurent Aimar [Wed, 21 Feb 2007 23:01:36 +0000 (23:01 +0000)]
Fixed memory leak at each new PMT if we don't have CAM.

17 years agoAvoid a malloc(0) (We don't call free on it, valgrind is not happy)
Laurent Aimar [Wed, 21 Feb 2007 22:56:43 +0000 (22:56 +0000)]
Avoid a malloc(0) (We don't call free on it, valgrind is not happy)

17 years agoAdd CODEC_ID_GSM and CODEC_ID_GSM_MS to ffmpeg audio codec list. (mostly useless...
Antoine Cellerier [Wed, 21 Feb 2007 22:44:24 +0000 (22:44 +0000)]
Add CODEC_ID_GSM and CODEC_ID_GSM_MS to ffmpeg audio codec list. (mostly useless but it doesn't hurt. needs ffmpeg to be linked with an specific lib)

17 years ago- io.c: meaningful error message on win32 when input is dying
Damien Fouilleul [Wed, 21 Feb 2007 22:39:07 +0000 (22:39 +0000)]
- io.c: meaningful error message on win32 when input is dying

17 years ago[PATCH] vlm: play command index same as inputdeln index from Ilkka Ollakka. Thanks.
Antoine Cellerier [Wed, 21 Feb 2007 22:25:27 +0000 (22:25 +0000)]
[PATCH] vlm: play command index same as inputdeln index from Ilkka Ollakka. Thanks.

17 years ago Improved vlc_UrlParse (close #1025)
Laurent Aimar [Wed, 21 Feb 2007 21:31:36 +0000 (21:31 +0000)]
 Improved vlc_UrlParse (close #1025)
 We use vlc_UrlParse for "URL" without protocol... so it was using a part of
the URL as a protocol if it found ":/". Ensure to extract only valid protocol
at least.

17 years ago- Do not store HTTPd clients addresses (unused anyway)
Rémi Denis-Courmont [Wed, 21 Feb 2007 20:49:01 +0000 (20:49 +0000)]
- Do not store HTTPd clients addresses (unused anyway)
- Use net_Accept()

17 years agoFix descriptor leak and remove useless code
Rémi Denis-Courmont [Wed, 21 Feb 2007 19:27:18 +0000 (19:27 +0000)]
Fix descriptor leak and remove useless code

17 years ago- contribs: more cygwin/general fixes
Damien Fouilleul [Wed, 21 Feb 2007 18:19:41 +0000 (18:19 +0000)]
- contribs: more cygwin/general fixes

17 years ago- Use poll in net_Accept
Rémi Denis-Courmont [Wed, 21 Feb 2007 18:19:11 +0000 (18:19 +0000)]
- Use poll in net_Accept
- Fix som bugs

17 years agoAnother mdate() caching optimization
Rémi Denis-Courmont [Wed, 21 Feb 2007 18:03:40 +0000 (18:03 +0000)]
Another mdate() caching optimization

17 years ago- Use poll() instead of select to allow breaking the FD_SETSIZE barrier
Rémi Denis-Courmont [Wed, 21 Feb 2007 17:58:12 +0000 (17:58 +0000)]
- Use poll() instead of select to allow breaking the FD_SETSIZE barrier
- Poll the system clock only once per loop (yes, it DOES matter),
- Fix rare bug with TLS and multiple listening sockets,
- Do not try to read/write to client socket with no pending events.
...and of course introduce dozens of new bugs.

This SHOULD speed httpd up a bit.

17 years agodvdnav.patch: detect the presence of gettimeofday() and activate the replacement...
Christophe Mutricy [Wed, 21 Feb 2007 17:52:09 +0000 (17:52 +0000)]
dvdnav.patch: detect the presence of gettimeofday() and activate the replacement only when needed

17 years agoMinor code factorization
Rémi Denis-Courmont [Wed, 21 Feb 2007 17:42:19 +0000 (17:42 +0000)]
Minor code factorization

17 years agoMemory leak
Rémi Denis-Courmont [Wed, 21 Feb 2007 16:51:44 +0000 (16:51 +0000)]
Memory leak

17 years ago- Support for multiple medias in SDP parser
Rémi Denis-Courmont [Wed, 21 Feb 2007 16:47:58 +0000 (16:47 +0000)]
- Support for multiple medias in SDP parser
- Accept phony SDPs with multiple identical media lines as if they had a single one

17 years agoFixed segfault in AutoBuiltPanel::AutoBuiltPanel.
Laurent Aimar [Tue, 20 Feb 2007 22:54:18 +0000 (22:54 +0000)]
Fixed segfault in AutoBuiltPanel::AutoBuiltPanel.

17 years agoffmpeg: ask a packetizer for audio too (needed since ffmpeg r6098,
Laurent Aimar [Tue, 20 Feb 2007 22:52:12 +0000 (22:52 +0000)]
ffmpeg: ask a packetizer for audio too (needed since ffmpeg r6098,
fixed mpeg audio decoding)
vlc_demux.h: fixed COMMON_INIT_PACKETIZER (create a packetizer and not a decoder,
fixed mpeg audio packetizer)

17 years agoContribs : freetype bumps to 2.3.1
Jean-Baptiste Kempf [Tue, 20 Feb 2007 21:20:39 +0000 (21:20 +0000)]
Contribs : freetype bumps to 2.3.1

17 years agoFix SAP protocol/format parsing
Rémi Denis-Courmont [Tue, 20 Feb 2007 21:01:27 +0000 (21:01 +0000)]
Fix SAP protocol/format parsing

17 years agoFix port number setting when there is no session-level connection line
Rémi Denis-Courmont [Tue, 20 Feb 2007 20:54:31 +0000 (20:54 +0000)]
Fix port number setting when there is no session-level connection line

17 years ago- contribs: autoconf 2.6.0 -> 2.6.1
Damien Fouilleul [Tue, 20 Feb 2007 20:26:31 +0000 (20:26 +0000)]
- contribs: autoconf 2.6.0 -> 2.6.1

17 years agoMissing #includes
Rémi Denis-Courmont [Tue, 20 Feb 2007 20:12:03 +0000 (20:12 +0000)]
Missing #includes

17 years ago- Makefile: FLAC -> flac
Damien Fouilleul [Tue, 20 Feb 2007 19:53:02 +0000 (19:53 +0000)]
- Makefile: FLAC -> flac

17 years agoLook for x-plgroup also among media-level attributes
Rémi Denis-Courmont [Tue, 20 Feb 2007 19:31:00 +0000 (19:31 +0000)]
Look for x-plgroup also among media-level attributes

17 years agoFix crash in SDP parser
Rémi Denis-Courmont [Tue, 20 Feb 2007 17:28:20 +0000 (17:28 +0000)]
Fix crash in SDP parser

17 years agoAlso complain subtitle is mislabeled as UTF-8
Rémi Denis-Courmont [Tue, 20 Feb 2007 17:05:04 +0000 (17:05 +0000)]
Also complain subtitle is mislabeled as UTF-8

17 years agoMore explicit debug and error in subtitle charset selection
Rémi Denis-Courmont [Tue, 20 Feb 2007 16:58:06 +0000 (16:58 +0000)]
More explicit debug and error in subtitle charset selection

17 years ago- contribs: more fixes
Damien Fouilleul [Tue, 20 Feb 2007 16:52:24 +0000 (16:52 +0000)]
- contribs: more fixes

17 years agoAdd var_CreateGetNonEmptyString and factor some code
Rémi Denis-Courmont [Tue, 20 Feb 2007 16:40:50 +0000 (16:40 +0000)]
Add var_CreateGetNonEmptyString and factor some code

17 years agoCompile fixes
Jean-Paul Saman [Tue, 20 Feb 2007 15:07:23 +0000 (15:07 +0000)]
Compile fixes

17 years agoFix typo
Jean-Paul Saman [Tue, 20 Feb 2007 14:47:52 +0000 (14:47 +0000)]
Fix typo

17 years agoTreat all live555 versions before LIVEMEDIA_LIBRARY_VERSION_INT 1171929600 as if...
Jean-Paul Saman [Tue, 20 Feb 2007 13:44:23 +0000 (13:44 +0000)]
Treat all live555 versions before LIVEMEDIA_LIBRARY_VERSION_INT 1171929600 as if playStartTime() and playEndTime() didn't exist. Now only handle unpatched current versions of live library.

17 years agoRewrite of live555 demux (TODO: RTPInfo support)
Jean-Paul Saman [Tue, 20 Feb 2007 13:01:20 +0000 (13:01 +0000)]
Rewrite of live555 demux (TODO: RTPInfo support)

17 years agolive-starttime.patch the patch needs latest live555 source code.
Jean-Paul Saman [Tue, 20 Feb 2007 12:44:33 +0000 (12:44 +0000)]
live-starttime.patch the patch needs latest live555 source code.

17 years agoCompile fix
Christophe Mutricy [Tue, 20 Feb 2007 10:12:38 +0000 (10:12 +0000)]
Compile fix

17 years agoCompile fix - Pointed by vcxx
Christophe Mutricy [Tue, 20 Feb 2007 09:46:11 +0000 (09:46 +0000)]
Compile fix - Pointed by vcxx

17 years agoplaylist_NodeAddInput() prototype changed, this commit fixes building of wxwidgets...
Jean-Paul Saman [Tue, 20 Feb 2007 09:09:34 +0000 (09:09 +0000)]
playlist_NodeAddInput() prototype changed, this commit fixes building of wxwidgets and MacOS X

17 years agoplaylist_Add() prototype changed
Jean-Paul Saman [Tue, 20 Feb 2007 09:04:25 +0000 (09:04 +0000)]
playlist_Add() prototype changed

17 years agoContribs: Yet another modification for the patch for live/OSX. SHould be last one.
Jean-Baptiste Kempf [Tue, 20 Feb 2007 07:46:56 +0000 (07:46 +0000)]
Contribs: Yet another modification for the patch for live/OSX. SHould be last one.

17 years ago* Start cleaning up libvlc playlist API (Refs:#457)
Clément Stenac [Tue, 20 Feb 2007 07:29:54 +0000 (07:29 +0000)]
* Start cleaning up libvlc playlist API (Refs:#457)
  - Return correct item ids
  - Structures for navigating the playlist
  - Consistent locking
* Add a b_locked parameter to the remaining playlist API calls

17 years ago* don't double free an object! Thanks to nivix for pointing me to the right direction...
Felix Paul Kühne [Tue, 20 Feb 2007 07:26:54 +0000 (07:26 +0000)]
* don't double free an object! Thanks to nivix for pointing me to the right direction and keeping to bug me about this. Fixes #978

17 years agoContribs : flags that were missing during the transition to Distributions/ are back...
Jean-Baptiste Kempf [Tue, 20 Feb 2007 07:24:36 +0000 (07:24 +0000)]
Contribs : flags that were missing during the transition to Distributions/ are back again.

17 years agoContrib Live.com has changed. Live-OSX.patch need to updated.
Jean-Baptiste Kempf [Tue, 20 Feb 2007 00:22:36 +0000 (00:22 +0000)]
Contrib Live.com has changed. Live-OSX.patch need to updated.

17 years agoContribs Same commit about .FLAC => .flac
Jean-Baptiste Kempf [Mon, 19 Feb 2007 23:46:50 +0000 (23:46 +0000)]
Contribs Same commit about .FLAC => .flac

17 years agoContrib-live: Don't patch things if you don't need them.
Jean-Baptiste Kempf [Mon, 19 Feb 2007 23:27:26 +0000 (23:27 +0000)]
Contrib-live: Don't patch things if you don't need them.

17 years agoRemove gather stream output since it is completely unusable
Rémi Denis-Courmont [Mon, 19 Feb 2007 21:27:10 +0000 (21:27 +0000)]
Remove gather stream output since it is completely unusable

17 years agoContrib: Repair Makefile error introduced in [18887]
Jean-Baptiste Kempf [Mon, 19 Feb 2007 21:22:35 +0000 (21:22 +0000)]
Contrib: Repair Makefile error introduced in [18887]

17 years agoFix use of uninitialized memory with raw UDP
Rémi Denis-Courmont [Mon, 19 Feb 2007 20:35:25 +0000 (20:35 +0000)]
Fix use of uninitialized memory with raw UDP
(seriously, you should have switched to RTP for ages though)

17 years ago- send RTCP BYE at exit,
Rémi Denis-Courmont [Mon, 19 Feb 2007 19:57:28 +0000 (19:57 +0000)]
- send RTCP BYE at exit,
- run RTCP over UDP-Lite for UDP-Lite streams (well, there is no standard yet...)

17 years agoFix a bunch of meomory object and descriptor leaks
Rémi Denis-Courmont [Mon, 19 Feb 2007 19:29:05 +0000 (19:29 +0000)]
Fix a bunch of meomory object and descriptor leaks

17 years agoSimplistic RTCP sender for access output
Rémi Denis-Courmont [Mon, 19 Feb 2007 19:24:14 +0000 (19:24 +0000)]
Simplistic RTCP sender for access output
Still needs fixing

17 years ago- contribs: misc fixes for cygwin mostly
Damien Fouilleul [Mon, 19 Feb 2007 19:00:27 +0000 (19:00 +0000)]
- contribs: misc fixes for cygwin mostly

17 years ago- b_rtpts should really b a boolean (!)
Rémi Denis-Courmont [Mon, 19 Feb 2007 16:50:32 +0000 (16:50 +0000)]
- b_rtpts should really b a boolean (!)
- optimize ..._sys_t layout a little

17 years agoLeverage Set*LE()
Rémi Denis-Courmont [Mon, 19 Feb 2007 16:25:33 +0000 (16:25 +0000)]
Leverage Set*LE()

17 years agoFix possibly expansion-unsafe macros
Rémi Denis-Courmont [Mon, 19 Feb 2007 16:21:47 +0000 (16:21 +0000)]
Fix possibly expansion-unsafe macros

17 years agoFor some obscure reason flac need ntohl so ws2_32
Christophe Mutricy [Sun, 18 Feb 2007 22:44:06 +0000 (22:44 +0000)]
For some obscure reason flac need ntohl so ws2_32

17 years ago* animate vout-window resizements. Patch by Pierre d'Herbement <pdherbement --at...
Felix Paul Kühne [Sun, 18 Feb 2007 20:48:58 +0000 (20:48 +0000)]
* animate vout-window resizements. Patch by Pierre d'Herbement <pdherbement --at,chez-- free.fr>. Thanks!

17 years agoDeclare local functions static.
Jean-Paul Saman [Sun, 18 Feb 2007 13:05:54 +0000 (13:05 +0000)]
Declare local functions static.

17 years agoAutomatically choose ffmpeg{mux=flv} if dst ends in ".flv"
Antoine Cellerier [Sun, 18 Feb 2007 00:11:11 +0000 (00:11 +0000)]
Automatically choose ffmpeg{mux=flv} if dst ends in ".flv"

17 years agoUpdate copyright date.
Antoine Cellerier [Sat, 17 Feb 2007 23:57:17 +0000 (23:57 +0000)]
Update copyright date.

17 years agompl2 subtitles support by Roman Bednarek. Thanks.
Antoine Cellerier [Sat, 17 Feb 2007 23:53:06 +0000 (23:53 +0000)]
mpl2 subtitles support by Roman Bednarek. Thanks.

17 years agoUse the new way to specify mingw32 for ffmpeg
Christophe Mutricy [Sat, 17 Feb 2007 23:14:19 +0000 (23:14 +0000)]
Use the new way to specify mingw32 for ffmpeg

17 years agoffmpeg/mux.c: implement MUX_GET_MIME.
Antoine Cellerier [Sat, 17 Feb 2007 21:28:05 +0000 (21:28 +0000)]
ffmpeg/mux.c: implement MUX_GET_MIME.
flash.html: we don't need to force the mime type manualy anymore (in the sout chain).

17 years agoWith recent libavformat, only use the evil CODEC_ID_MP2 -> CODEC_ID_MP3 hack if MP2...
Antoine Cellerier [Sat, 17 Feb 2007 21:14:26 +0000 (21:14 +0000)]
With recent libavformat, only use the evil CODEC_ID_MP2 -> CODEC_ID_MP3 hack if MP2 isn't accepted by the muxer. (muxers which only accept MP2 but not MP3 should now work ... not that i know any)

17 years agoMisc fixes. Add link to FlowPlayer.sf.net
Antoine Cellerier [Sat, 17 Feb 2007 21:07:52 +0000 (21:07 +0000)]
Misc fixes. Add link to FlowPlayer.sf.net

17 years agoDisable autoplay on flash player.
Antoine Cellerier [Sat, 17 Feb 2007 20:45:57 +0000 (20:45 +0000)]
Disable autoplay on flash player.

17 years agoremove non-working fix
Christophe Mutricy [Sat, 17 Feb 2007 19:23:53 +0000 (19:23 +0000)]
remove non-working fix

17 years agocontrib/FLAC: Add flac's include directory at the start of our CFLAGS so bogus header...
Christophe Mutricy [Sat, 17 Feb 2007 19:00:20 +0000 (19:00 +0000)]
contrib/FLAC: Add flac's include directory at the start of our CFLAGS so bogus header are not included ( should be fixed in flac build system)
asm seems to work for win32 now

17 years agoNew "Flash player" page for the HTTP interface. (Allows playback even if you don...
Antoine Cellerier [Sat, 17 Feb 2007 18:42:13 +0000 (18:42 +0000)]
New "Flash player" page for the HTTP interface. (Allows playback even if you don't have the VLC plugin installed ... like on the Wii)

17 years agomake update-po
Christophe Mutricy [Sat, 17 Feb 2007 14:53:54 +0000 (14:53 +0000)]
make update-po

17 years agoSlovenian l10n update by Matej Urbancic
Christophe Mutricy [Sat, 17 Feb 2007 14:53:13 +0000 (14:53 +0000)]
Slovenian l10n update by Matej Urbancic

17 years agoContrib / Flac : Deactivate ASM optimizations on MacTel
Jean-Baptiste Kempf [Sat, 17 Feb 2007 04:46:14 +0000 (04:46 +0000)]
Contrib / Flac : Deactivate ASM optimizations on MacTel

17 years agoContrib: Flac 1.1.4, patch for MingW32 compiling that was broken. Still issues on...
Jean-Baptiste Kempf [Sat, 17 Feb 2007 04:13:50 +0000 (04:13 +0000)]
Contrib: Flac 1.1.4, patch for MingW32 compiling that was broken. Still issues on include/

17 years agoAdd previous commit to THANKS.
Antoine Cellerier [Sat, 17 Feb 2007 02:30:41 +0000 (02:30 +0000)]
Add previous commit to THANKS.

17 years agoContrib : Flac => 1.1.4. Compile fix for OS-X
Jean-Baptiste Kempf [Sat, 17 Feb 2007 02:30:37 +0000 (02:30 +0000)]
Contrib : Flac => 1.1.4. Compile fix for OS-X

17 years agoFix ffmpeg muxer header writing. This allows flash streaming with VLC. Example comman...
Antoine Cellerier [Sat, 17 Feb 2007 02:28:18 +0000 (02:28 +0000)]
Fix ffmpeg muxer header writing. This allows flash streaming with VLC. Example command line:
./vlc --sout "#transcode{vcodec=FLV1,acodec=mp3,sameplerate=44100}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8080/stream.flv}" ~/media/aladin.avi --loop -vvv --color -I dummy

Patch from Olivier Houchard. Thanks.

17 years agoPatch unneeded since it was merged upstream.
Jean-Baptiste Kempf [Sat, 17 Feb 2007 01:28:44 +0000 (01:28 +0000)]
Patch unneeded since it was merged upstream.

17 years agoContrib: Flac 1.1.3 version for the contribs.
Jean-Baptiste Kempf [Sat, 17 Feb 2007 01:13:06 +0000 (01:13 +0000)]
Contrib: Flac 1.1.3 version for the contribs.

17 years agoCorrect ffmpeg flags for building contribs.
Jean-Baptiste Kempf [Fri, 16 Feb 2007 20:46:45 +0000 (20:46 +0000)]
Correct ffmpeg flags for building contribs.

17 years agoWe don't need 3 different norvegian l10n
Christophe Mutricy [Fri, 16 Feb 2007 16:12:02 +0000 (16:12 +0000)]
We don't need 3 different norvegian l10n

17 years agoBetter credits for FLAC 1.1.3
Rémi Denis-Courmont [Fri, 16 Feb 2007 15:56:02 +0000 (15:56 +0000)]
Better credits for FLAC 1.1.3

17 years agomsg_GetObjectTypeName symbol exported as needed by libvlc-control
Filippo Carone [Fri, 16 Feb 2007 14:51:32 +0000 (14:51 +0000)]
msg_GetObjectTypeName symbol exported as needed by libvlc-control

17 years agoFix net_Listen linking
Rémi Denis-Courmont [Thu, 15 Feb 2007 21:11:53 +0000 (21:11 +0000)]
Fix net_Listen linking

17 years agoSupport for FLAC version 1.1.3 - fixes #921
Rémi Denis-Courmont [Thu, 15 Feb 2007 20:43:31 +0000 (20:43 +0000)]
Support for FLAC version 1.1.3 - fixes #921

17 years agoHTTP and UDP access outputs return byte count
Rémi Denis-Courmont [Thu, 15 Feb 2007 20:36:07 +0000 (20:36 +0000)]
HTTP and UDP access outputs return byte count

17 years agoYet another version.c fix.
Rémi Denis-Courmont [Thu, 15 Feb 2007 18:51:12 +0000 (18:51 +0000)]
Yet another version.c fix.
I've really had enough with this broken thing.

17 years agolibvlc_Internal* need to be exported for libvlc-control
Filippo Carone [Thu, 15 Feb 2007 18:17:57 +0000 (18:17 +0000)]
libvlc_Internal* need to be exported for libvlc-control

17 years agoRemove timeout in network read APIs - closes #1056
Rémi Denis-Courmont [Thu, 15 Feb 2007 17:26:23 +0000 (17:26 +0000)]
Remove timeout in network read APIs - closes #1056

17 years agoSuppress timeout parameter from net_Select() - refs #1056.
Rémi Denis-Courmont [Thu, 15 Feb 2007 17:17:47 +0000 (17:17 +0000)]
Suppress timeout parameter from net_Select() - refs #1056.
The only use of the timeout was to poll b_die, but net_ReadInner()
takes care of that already.

17 years ago- Fix error reporting in net_Read* (refs #1056)
Rémi Denis-Courmont [Thu, 15 Feb 2007 17:12:28 +0000 (17:12 +0000)]
- Fix error reporting in net_Read* (refs #1056)
- Suppress broken and unused timeout value from net_ReadNonBlock()

17 years ago- Fix file descriptors leak
Rémi Denis-Courmont [Thu, 15 Feb 2007 17:08:22 +0000 (17:08 +0000)]
- Fix file descriptors leak
- Use net_Read() instead of net_ReadNonBlock()

17 years agoFix out-of-bound read
Rémi Denis-Courmont [Thu, 15 Feb 2007 16:59:30 +0000 (16:59 +0000)]
Fix out-of-bound read

17 years agos/vlc_object_die/vlc_object_kill/
Rémi Denis-Courmont [Thu, 15 Feb 2007 16:38:41 +0000 (16:38 +0000)]
s/vlc_object_die/vlc_object_kill/

17 years agovlc_object_die() opaque wrapper to set b_die, so we can use another
Rémi Denis-Courmont [Thu, 15 Feb 2007 16:33:47 +0000 (16:33 +0000)]
vlc_object_die() opaque wrapper to set b_die, so we can use another
notification mechanism later on.
They are a lot of places that would need to be changed though.

17 years agoUse size_t or ssize_t when appropriate
Rémi Denis-Courmont [Thu, 15 Feb 2007 16:32:53 +0000 (16:32 +0000)]
Use size_t or ssize_t when appropriate

17 years agoClose telnet connection in case of error (fixes #995)
Rémi Denis-Courmont [Thu, 15 Feb 2007 16:25:16 +0000 (16:25 +0000)]
Close telnet connection in case of error (fixes #995)