[MPlayer-dev-eng] [PATCH] Disable extension based detection for rtsp when compiled without live.com
Roberto Togni
r_togni at tiscali.it
Wed Apr 7 21:01:22 CEST 2004
On 2004.04.07 01:36, kiriuja wrote:
> > > Another idea would be to have a command line option to force
> realrtsp
> > > or to have it try realrtsp after normal rtsp fails, or the other
> way
> > > around...
> >
> > I guess that would be a good idea.
Can you try this patch?
Can someone who use standard rtsp streams also test it?
It's just a test patch that have to be cleaned up (the old selection
code can be removed, and it will probably have problems if an url is
redirected and it's not Real rtsp), but it works for me.
It tries both rtsp implementations (Real first, then live.com). It can
be made smarter if needed, by using the extension check (or some other
trick) to select the order of the attempts.
The bad thing about this solution is that MPlayer have to connect twice
if the first streamer is not the right one.
> kiriuja
Ciao,
Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network.c.diff
Type: text/x-patch
Size: 1783 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040407/a2cdbca9/attachment.bin>
More information about the MPlayer-dev-eng
mailing list