[MPlayer-dev-eng] [PATCH] mmst path should not be url-encoded

Ilia chest4l at mail.ru
Thu Jun 24 06:32:49 CEST 2004


Hi, All!
Recently I faced a problem of playing mmst:// streaming video with mplayer 
when file path/name contains spaces. With help of ethereal sniffer I 
discovered, that MS WMP (I used v.8) does not perform standard url encoding 
at all, connecting to mmst server. Moreover, the server expects such a 
behaviour and just ignore mplayer's (url-encoded) requests. So, url-enconding 
should be disabled, when connecting by mmst://.

The patch is very simple and small, but I'm not sure about value, that 
asf_mmst_streaming_start function should return when failed to allocate 
memory (see comments inside). I've just copied the value from another place 
in the function.

I've made the patch by 'cvs diff -u' as described in DOCS/tech/patches.txt.

--
Ilia.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmst_filename_url_decode.patch
Type: text/x-diff
Size: 1542 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040624/4a839a46/attachment.patch>


More information about the MPlayer-dev-eng mailing list