diego
eebf08b978
Convert all if(verbose>X) to mp_msg_test calls.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
reimar
bea8281d3d
Fix compilation error introduced by last commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17841 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 22:29:27 +00:00
reimar
ef04decf63
fix feature pragma length check
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17838 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-12 21:44:22 +00:00
reimar
78f77afc33
Fix bugs/crash introduced by translation patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16931 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 15:25:08 +00:00
ptt
80f36a7449
Changed MSGTR_MPDEMUX_ASF_MallocFailed to MSGTR_MemAllocFailed (msg defined two times inhelp_mp-en.h)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16908 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-05 00:53:33 +00:00
reynaldo
8970a281df
libmpdemux translatables to help_mp part 1 / mp_msg calls / try 2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16883 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 23:37:41 +00:00
reimar
c871483f14
check4proxies always creates a copy, so url should be freed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16419 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 21:08:36 +00:00
reimar
bc7eccf0f1
strncasecmp is not necessary and e.g. strncasecmp(prot, "mms", 3) will
...
also match e.g. mmshttp!
Thanks to Ian Remmler for noticing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16113 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 18:55:20 +00:00
nicodvb
68230a7f76
printf converted to mp_msg; made static many unnecessarily global symbols
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15627 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-03 15:33:26 +00:00
nicodvb
83b3c822be
ported all network streams to the new API
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15586 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-29 12:54:00 +00:00
reimar
dd390cede9
fix for streams that do not send a bitrate
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14640 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-03 20:13:44 +00:00
rtognimp
aa3d2fd97a
If asf/tcp fails, asf/http used a wrong port
...
Fixes mms://mms.thestreet.com/cramer011205.wma
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14526 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-16 22:30:28 +00:00
reimar
eb7911b7ad
10l, variable declarations must be before mp_msg.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14263 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 11:16:23 +00:00
reimar
bf0b713d0c
fix stream selection and -bandwidth for mms-over-http.
...
Modifies header parsing to do a brute-force scan for known guids, to avoid
having to analyze and parse the whole property-tree structure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14237 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-25 11:31:32 +00:00
alex
42ffc6668a
reduced code complexity, and also made consistent with other parts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12880 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-21 10:18:29 +00:00
alex
2ee5c42565
removing broken and unneeded copy
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12879 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-21 10:10:32 +00:00
alex
6395e08d46
correct spelling
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12655 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 17:02:51 +00:00
rtognimp
c7d1f1733e
Use same order as WMP for mms protocols (MMSU, MMST, HTTP)
...
Patch by adland
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12536 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-06 14:53:03 +00:00
rtognimp
e6015b2bd8
Fix hang for some asf video stream like http://193.219.139.115/ltv/zinios/news1830_20040501.wmv
...
Patch by adland
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12397 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-02 16:22:32 +00:00
rtognimp
1a4a43962e
Don't say that a protocol is unsupported if that's not true
...
Patch by adland
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12274 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-25 12:41:01 +00:00
rtognimp
f285c25435
Fix for some audio asf streams like http://ms.bandeapart.fm/bap/albums/973/6573_h_07-Patience.asf
...
Patch by adland
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12225 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-17 16:47:52 +00:00
mosu
a2be6012e5
Accept video/x-ms-asf as the MIME type for ASF as well. Patch by Dominique Andre Gunia <Dominique.Gunia@schunter.etc.tu-bs.de>.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11350 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-01 14:10:32 +00:00
rfelker
aee0faef0a
simple fix for buffer overflow (remotely exploitable). feel free to
...
commit a better fix if you don't like it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10940 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-25 00:36:04 +00:00
albeu
755e127c26
ftp support. The change on connect2Server is needed bcs we need 2
...
different level of verbosity for control and data connections.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10626 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-15 19:13:23 +00:00
diego
6ac4f22567
Networking support under MinGW.
...
Patch by flo/yepyep <flodt8@yahoo.de>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10282 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-11 16:48:09 +00:00
alex
85cbbc3530
Using recv/send instead read/write for proper MinGW support (it's a 4.2BSD standard). Patch by FloDt <flodt8@yahoo.de>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10207 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-29 19:36:58 +00:00
albeu
c5c742302c
Use new config headers
...
Remove STREAMTYPE_PLAYLIST.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9750 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-30 17:10:36 +00:00
bertrand
3ee5e0438f
10l bug...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8824 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-06 16:42:20 +00:00
bertrand
4cc8c41392
- Now mmst will use the MMS/TCP implementation first, instead of trying
...
MMS/HTTP first.
- Fixed a bug when reporting ASF redirector for a text/html payload, was
generating a seg fault in playtree.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8719 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-02 15:38:26 +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
d483a015a2
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7473 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-22 02:33:28 +00:00
bertrand
afe4a4e96f
Don't try to reread from the socket if the server says EOF
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7311 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-07 20:38:44 +00:00
bertrand
97afbee906
- If fatal error while trying to connect to a WM server, skip other proto.
...
- Fix that makes mplayer works with corona(WMS9) servers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7253 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 01:32:13 +00:00
bertrand
b5a178733e
Fixed the asf http authentication.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6678 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-09 08:26:34 +00:00
atmos4
fbab7bb6b4
Add missing authentication for asf streaming.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6671 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-08 04:11:23 +00:00
bertrand
7b2e403283
Changed the way that the streams are requested.
...
Now the streams are requested depending on the bandwidth option.
If the option is not set, the higher bitrate stream is chose.
Moved the asf_http_streaming_ctrl_t struct to asf.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6644 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-07-05 02:46:03 +00:00
bertrand
17a2a90da8
Enable mmst support. MMST will be tried if the HTTP support failed.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6095 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-14 22:33:30 +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
956439594b
Added big endian handling for the ASF_chunk_t struct.
...
(reworked of the patch from Guillaume Morin <guillaume@morinfr.org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5618 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-14 05:51:32 +00:00
bertrand
e0d2510337
Readded the content-type checking, in case of the no HTTP body are
...
sent we can still try with the content-type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4335 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-24 09:29:52 +00:00
nexus
53ddbc7ccc
10l ...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4316 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-23 14:11:19 +00:00
bertrand
d00d8ff8bf
Added a turn around for badly configured web servers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4313 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-23 08:50:30 +00:00
bertrand
b1bee536f0
Changed the asf_file_header_t struct to read all the fields properly.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4289 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-20 21:38:11 +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
180ae10466
Changed the return value of the start function. Doesn't return the fd
...
anymore. Just -1 for fail and 0 for OK.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4074 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-10 01:42:31 +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
arpi
bf1a641ef4
various small streaming fixes by Alban Bedel <albeu@free.fr>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4042 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 01:13:22 +00:00
pl
a1e6e85834
As nobody fixed this yet:
...
"asf_streaming.c: In function asf_http_request':
asf_streaming.c:414: warning: too few arguments for format
asf_streaming.c:431: warning: too few arguments for format"
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3728 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 11:40:10 +00:00
bertrand
64f97cd0a1
Fixed the multiple ASF header stream chunk.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3552 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-17 01:58:24 +00:00