diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-06 14:39:10 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-06 14:39:10 +0000 |
commit | b59db283559b45b184658664985ee791f5bf5d3e (patch) | |
tree | 0a8bca3eb27edf433e69bb63302cd88a4ae1c925 /libmpdemux/realrtsp/rtsp.c | |
parent | 2f095cc06131e95caff275fefe157fcda796cc99 (diff) | |
download | mpv-b59db283559b45b184658664985ee791f5bf5d3e.tar.bz2 mpv-b59db283559b45b184658664985ee791f5bf5d3e.tar.xz |
This patch makes real rtsp tell the server to deliver data at specified
bandwidth, if bandwidth cmdline option is given. Also, if that's given,
it uses it for sdp stream selection. If not given, the behavior is the
same as before.
It's used to implement something like turboplay in realplayer.
Patch by Tomas Janousek >>> tomi (At) nomi (.) cz <<<
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17333 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/realrtsp/rtsp.c')
-rw-r--r-- | libmpdemux/realrtsp/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/realrtsp/rtsp.c b/libmpdemux/realrtsp/rtsp.c index 11d7fb9cd7..33dddde248 100644 --- a/libmpdemux/realrtsp/rtsp.c +++ b/libmpdemux/realrtsp/rtsp.c @@ -877,7 +877,7 @@ static int realrtsp_streaming_start( stream_t *stream ) { file++; mrl = malloc(sizeof(char)*(strlen(stream->streaming_ctrl->url->hostname)+strlen(file)+16)); sprintf(mrl,"rtsp://%s:%i/%s",stream->streaming_ctrl->url->hostname,port,file); - rtsp = rtsp_session_start(fd,&mrl, file, stream->streaming_ctrl->url->hostname, port, &redirected); + rtsp = rtsp_session_start(fd,&mrl, file, stream->streaming_ctrl->url->hostname, port, &redirected, stream->streaming_ctrl->bandwidth); if( redirected == 1) { url_free(stream->streaming_ctrl->url); |