Commit Graph

65 Commits

Author SHA1 Message Date
arpi 13c130c580 better cache size defaults
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8940 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-13 03:10:19 +00:00
bertrand 8229e28f90 Finally commented out the code for autodetection based on the extension.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8891 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-11 14:02:23 +00:00
bertrand 99a7c6aa3b Return another error code for timeout.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8825 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 16:43:42 +00:00
bertrand 27741bec6d Added the ICY 403 "Service Forbiden" error message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8767 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-04 11:52:17 +00:00
arpi 63cffa669e pnm:// support (ported from xine)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8571 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-26 17:25:22 +00:00
bertrand 2fd8dcc165 Added OGG streaming support, patch from Balatoni Denes <pnis@coder.hu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8115 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-05 19:03:52 +00:00
arpi 39fe4d0cd3 verbose can be negative
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8028 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 17:46:45 +00:00
bertrand 4dc9465cb8 GCC warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7954 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 09:18:53 +00:00
arpi 12bf06a1ad allow cache to be disabled (-nocache should override cachesize autodetection
in stream layer)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7882 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 22:07:29 +00:00
arpi f9e3a4bf88 cleanup config option handling in libmpdemux.
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
2002-10-23 17:21:01 +00:00
arpi bf3c311ee8 mpdemux.c|h moved to libinput, mpdemux_check_interrupt() -> mp_input_check_interrupt()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7863 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-23 14:46:20 +00:00
bertrand fbcc3a2466 Display the IP address that has been resolved.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7514 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-27 19:20:20 +00:00
bertrand fda754a0bb Added a new ASX playlist mime-type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7394 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-13 22:39:48 +00:00
bertrand 8925019760 Return -2 for fatal error while connecting to a server.
Fatal are unable to resolve name, connection timeout...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:29:44 +00:00
arpi 4fe4fbd1d0 typo fixes by Ross Finlayson <finlayson@live.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7008 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-14 21:55:48 +00:00
arpi fa788640e2 applied live.com streaming patch (-sdp and rtsp:// support) by Ross 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
2002-08-05 00:39:07 +00:00
bertrand c98bfbf5f6 Retreive the bandwidth option from the command line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6643 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-05 02:37:56 +00:00
bertrand c424df896c Changed the -pass option to -passwd to avoid clash with mencoder option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6571 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-25 23:56:33 +00:00
bertrand f7f0dc084c Read username/password from the -user -pass command line options.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6559 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-25 08:04:52 +00:00
bertrand dd5ffb35bd Moved authentication code into its own function.
Disabled the user/pass interaction.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6556 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-24 20:12:18 +00:00
bertrand 1e3499e154 Improved the authentication interaction. Still need to replace scanf.
After 4 failed authentication, mplayer quits.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6517 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 09:39:09 +00:00
bertrand 9f6e8b1509 Added HTTP basic authentication support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6516 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-23 09:17:52 +00:00
bertrand 0b2ecf14e1 Here I go again, another fix for the timeout.
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
2002-06-21 07:06:46 +00:00
bertrand b40da6c55b Increased the timeout value on connection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6477 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-21 06:28:24 +00:00
bertrand cb69a70410 Added mplayer version in the user-agent field.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6467 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-20 08:50:40 +00:00
bertrand b2fa5e9868 Added some missing carriage returns.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6455 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-17 08:16:47 +00:00
alex 441a1048ff added some new types
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6033 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-09 14:52:23 +00:00
bertrand eebae88d07 Added ICY error 400: Server full.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5917 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-30 17:55:06 +00:00
albeu f76db05d53 Convert printf to mp_msg in the network layer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5916 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-30 16:58:54 +00:00
bertrand bd65848f56 Added ICY error 401: Service unavailable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5893 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-28 22:37:35 +00:00
atmos4 26c34c0862 Add some info prints to ICY code and handle return codes ICY specific, also 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
2002-04-27 20:42:02 +00:00
albeu 89345ecadf ICY found (mp3 stream) != sucess.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5868 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-27 19:15:18 +00:00
albeu 9ada242c51 Make blocking call in libmpdemux interuptable (only with new input,
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
2002-02-23 21:22:55 +00:00
bertrand 469f2d1b7e Handle HTTP OK response that doesn't contain a mime-type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4818 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-23 07:40:25 +00:00
albeu c39148ec8a Finnaly figured out this little long living bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4803 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-22 14:05:41 +00:00
albeu c9fdd6b630 Support for retriving mp3 playlist from the network
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4784 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-21 13:14:52 +00:00
bertrand 63d13413b7 Changed the default prefill cache value for raw network input stream.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4731 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-17 00:05:08 +00:00
alex d6d9502386 fixed MP3 ICY detection, return detected file format for open_stream
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4730 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-16 21:48:59 +00:00
bertrand e1d2cd594d Cleaned up the way proxies checking was done.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4653 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-11 05:16:09 +00:00
arpi 403b791ab9 ehh. i forgot to commit this patch: fix RTP streaming. patch by Dave Chapman <dave@dchapman.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4554 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-06 20:30:34 +00:00
bertrand 63ddd5ab74 Modified the cache option value setting/reading, so we can report
in any case the cache size value used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4303 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-22 06:12:18 +00:00
albeu f45bfe505d Add a check to not set the cache size if the user alredy set it.
Use m_config_set_int in place of m_config_set_option.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4294 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-21 10:47:47 +00:00
bertrand 34da4c1e7f Set the cache value if the network layer was able to compute it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4290 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 21:39:56 +00:00
bertrand 46ae846897 Moved network related code from open.c to network.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4252 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 09:04:02 +00:00
alex 5ac70db841 added .rm (real) and .y4m (yuv4mpeg)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4237 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-18 11:05:29 +00:00
bertrand 8629e9e819 Added support for the environment variable http_proxy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4147 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 06:44:30 +00:00
bertrand 32d1e1014f Changed the proxy protocol to http_proxy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4146 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-14 01:12:44 +00:00
bertrand 3b008ce8cf Added proxy support.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4122 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-12 21:08:12 +00:00
bertrand e2e270a848 Applied RTP patch from Brian Kuschak <bkuschak@yahoo.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4073 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-10 01:37:53 +00:00
bertrand 61b0de3564 Kept the HTTP connection open after autodetect, so
we don't need to reopen and request a second time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4047 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 07:31:29 +00:00