summaryrefslogtreecommitdiffstats
path: root/libmpdemux/network.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix segfault caused by changing a pointer that will be freed laterrtognimp2004-07-251-5/+7
| | | | | | | Patch by Martin Simmons ( vyslnqaaxytp at spammotel dot com ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12895 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make rtp:// cohexist with LIVE.COMrtognimp2004-07-111-14/+4
| | | | | | | Patch by Nico Sabbi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12800 b3059339-0415-0410-9bf9-f77b7e298cf2
* avoid double slashes, patch by Yoshinori Satoalex2004-06-261-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12680 b3059339-0415-0410-9bf9-f77b7e298cf2
* RFC compliance patch by Eric Lammerts <eric@lammerts.org>alex2004-06-251-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12639 b3059339-0415-0410-9bf9-f77b7e298cf2
* calling bind with multicast addresses doesn't work on windows, patch by ↵faust32004-06-181-3/+21
| | | | | | Martin Decky <deckm1am at ss1000.ms.mff.cuni.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add detection of nsa streamed by aol ultravox serverrtognimp2004-05-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12478 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to get an asf file with normal http protocol if http streamingrtognimp2004-05-011-0/+12
| | | | | | | fail. Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12391 b3059339-0415-0410-9bf9-f77b7e298cf2
* Should be Connection: close, and not closed.bertrand2004-04-291-1/+1
| | | | | | | | It has been there since v1.3... Thanks to Jonas Jensen <jbj@knef.dk> to noticed it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Suggest -playlist if asf_stream_start failsrtognimp2004-04-251-0/+1
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle url redirectionrtognimp2004-04-241-2/+30
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12269 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: don't run strcmp if arg is NULLrtognimp2004-04-191-1/+1
| | | | | | | Pathc by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Respect -playlist for asx streamsrtognimp2004-04-171-0/+6
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try Real rtsp, then live.com on every rtsp stream (remove extensionrtognimp2004-04-141-19/+14
| | | | | | | based selection) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12207 b3059339-0415-0410-9bf9-f77b7e298cf2
* nsv (Nullsoft streaming video) demuxerrtognimp2004-04-121-3/+12
| | | | | | | Patch by Reza Jelveh <reza (dot) jelveh (at) tu-harburg (dot) de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Seek in HTTP streams and stdin seek fixesrtognimp2004-03-131-1/+5
| | | | | | | Patch by eviv bulgroz <ebulgroz(at)yahoo(dot)com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12019 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable seeking in http streamsattila2004-02-171-6/+65
| | | | | | | patch by Valentine Zaretsky <valik+mplayerdev@email.dp.ua> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Send HTTP Cookies (reading from mozilla/netscape files) support by Dave ↵alex2003-12-081-2/+8
| | | | | | Lambley <mplayer-dev-eng@dlambley.freeserve.co.uk>. Disabled by default. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11584 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add detection of Real rtsp when there are queries in url.rtognimp2003-11-231-21/+7
| | | | | | | Patch by rgselk <rgselknospam(at)yahoo(dot)com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11506 b3059339-0415-0410-9bf9-f77b7e298cf2
* User settable http user-agent. Patch by Per Wigrenalex2003-10-221-4/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11229 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable a silly errormessagealex2003-10-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11228 b3059339-0415-0410-9bf9-f77b7e298cf2
* ftp support. The change on connect2Server is needed bcs we need 2albeu2003-08-151-14/+14
| | | | | | | different level of verbosity for control and data connections. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch from Andreas Hess <jaska@gmx.net>:bertrand2003-06-211-22/+17
| | | | | | | | rtsp://<host>/<file>:<port> is not a valid URL, but rtsp://<host>:<port>/<file> is. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10318 b3059339-0415-0410-9bf9-f77b7e298cf2
* Networking support under MinGW.diego2003-06-111-9/+53
| | | | | | | Patch by flo/yepyep <flodt8@yahoo.de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD ↵alex2003-05-291-3/+3
| | | | | | standard). Patch by FloDt <flodt8@yahoo.de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10207 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix redirection in real rtsp connections.rtognimp2003-05-281-2/+20
| | | | | | | Patch by yepyep (sdpplin.c part not committed) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10200 b3059339-0415-0410-9bf9-f77b7e298cf2
* Recognize ra and rm extensions even with query strings,rtognimp2003-05-231-4/+15
| | | | | | | | eg: rstp://www.addr.com/file.rm?var=123 Based on an idea by Felix Buenemann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10172 b3059339-0415-0410-9bf9-f77b7e298cf2
* We now check for "sip:" URLs - which are handled using the same LIVE.COMrsf2003-05-031-1/+10
| | | | | | | code as "rtsp://" URLs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10056 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some .ra files are playable, noted by Ross Finlaysonrtognimp2003-04-181-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9933 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed the code that checks for a ".rm" URL extension to also make surersf2003-04-181-1/+1
| | | | | | | that the extension is not NULL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9924 b3059339-0415-0410-9bf9-f77b7e298cf2
* Real rstp:// streaming support, ported from xinertognimp2003-04-171-0/+63
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9923 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use inet_ntoa where inet_ntop is not available.bertrand2003-04-101-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9901 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed some wrappers, now the configure checks for inet_pton. patch by Joey ↵alex2003-04-091-0/+4
| | | | | | Parrish <joey@nicewarrior.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new config headersalbeu2003-03-301-5/+5
| | | | | | | Remove STREAMTYPE_PLAYLIST. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9750 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added IPv6 support, patch by Dave Lambley ↵bertrand2003-03-261-21/+121
| | | | | | <mplayer-dev-eng@dlambley.freeserve.co.uk> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9692 b3059339-0415-0410-9bf9-f77b7e298cf2
* better cache size defaultsarpi2003-01-131-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8940 b3059339-0415-0410-9bf9-f77b7e298cf2
* Finally commented out the code for autodetection based on the extension.bertrand2003-01-111-2/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8891 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return another error code for timeout.bertrand2003-01-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8825 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added the ICY 403 "Service Forbiden" error message.bertrand2003-01-041-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8767 b3059339-0415-0410-9bf9-f77b7e298cf2
* pnm:// support (ported from xine)arpi2002-12-261-0/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added OGG streaming support, patch from Balatoni Denes <pnis@coder.hu>bertrand2002-11-051-1/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8115 b3059339-0415-0410-9bf9-f77b7e298cf2
* verbose can be negativearpi2002-11-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
* GCC warning fixesbertrand2002-10-291-6/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7954 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow cache to be disabled (-nocache should override cachesize autodetectionarpi2002-10-231-1/+1
| | | | | | | in stream layer) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7882 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup config option handling in libmpdemux.arpi2002-10-231-52/+14
| | | | | | | | removed overcompilacted m_config_register_options() mess - export the subconfig structs instead git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7868 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpdemux.c|h moved to libinput, mpdemux_check_interrupt() -> ↵arpi2002-10-231-2/+3
| | | | | | mp_input_check_interrupt() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7863 b3059339-0415-0410-9bf9-f77b7e298cf2
* Display the IP address that has been resolved.bertrand2002-09-271-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7514 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added a new ASX playlist mime-typebertrand2002-09-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Return -2 for fatal error while connecting to a server.bertrand2002-09-031-4/+6
| | | | | | | Fatal are unable to resolve name, connection timeout... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7252 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fixes by Ross Finlayson <finlayson@live.com>arpi2002-08-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7008 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied live.com streaming patch (-sdp and rtsp:// support) by Ross ↵arpi2002-08-051-1/+27
| | | | | | | | | Finlayson <finlayson@live.com> see <http://www.live.com/mplayer/> for details. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
* Retreive the bandwidth option from the command line.bertrand2002-07-051-6/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the -pass option to -passwd to avoid clash with mencoder option.bertrand2002-06-251-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Read username/password from the -user -pass command line options.bertrand2002-06-251-28/+35
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moved authentication code into its own function.bertrand2002-06-241-44/+65
| | | | | | | Disabled the user/pass interaction. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6556 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved the authentication interaction. Still need to replace scanf.bertrand2002-06-231-13/+24
| | | | | | | After 4 failed authentication, mplayer quits. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6517 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added HTTP basic authentication supportbertrand2002-06-231-0/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Here I go again, another fix for the timeout.bertrand2002-06-211-4/+6
| | | | | | | | Note that we shouldn't rely on the value of the timeval struct after select returns. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6478 b3059339-0415-0410-9bf9-f77b7e298cf2
* Increased the timeout value on connection.bertrand2002-06-211-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6477 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added mplayer version in the user-agent field.bertrand2002-06-201-1/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6467 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added some missing carriage returns.bertrand2002-06-171-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6455 b3059339-0415-0410-9bf9-f77b7e298cf2
* added some new typesalex2002-05-091-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6033 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added ICY error 400: Server full.bertrand2002-04-301-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5917 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert printf to mp_msg in the network layeralbeu2002-04-301-58/+56
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added ICY error 401: Service unavailable.bertrand2002-04-281-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some info prints to ICY code and handle return codes ICY specific, also ↵atmos42002-04-271-4/+32
| | | | | | | | | avoid printing content length in http if no Content-Length field in header. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5869 b3059339-0415-0410-9bf9-f77b7e298cf2
* ICY found (mp3 stream) != sucess.albeu2002-04-271-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5868 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make blocking call in libmpdemux interuptable (only with new input,albeu2002-02-231-7/+16
| | | | | | | awnser to quit, pt_next, pt_up_step and alt_src_step) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4826 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle HTTP OK response that doesn't contain a mime-type.bertrand2002-02-231-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4818 b3059339-0415-0410-9bf9-f77b7e298cf2
* Finnaly figured out this little long living bugalbeu2002-02-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4803 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for retriving mp3 playlist from the networkalbeu2002-02-211-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4784 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changed the default prefill cache value for raw network input stream.bertrand2002-02-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4731 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed MP3 ICY detection, return detected file format for open_streamalex2002-02-161-7/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4730 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleaned up the way proxies checking was done.bertrand2002-02-111-13/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4653 b3059339-0415-0410-9bf9-f77b7e298cf2
* ehh. i forgot to commit this patch: fix RTP streaming. patch by Dave Chapman ↵arpi2002-02-061-7/+8
| | | | | | <dave@dchapman.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4554 b3059339-0415-0410-9bf9-f77b7e298cf2
* Modified the cache option value setting/reading, so we can reportbertrand2002-01-221-9/+21
| | | | | | | in any case the cache size value used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4303 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a check to not set the cache size if the user alredy set it.albeu2002-01-211-12/+13
| | | <