Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2010-05-29 18:41:26 +0400
committerReinhard Tartler <siretart@tauware.de>2010-05-29 18:41:26 +0400
commit1f1d2fa75cd4a900b398e117c5ea8b68d55f23d6 (patch)
tree99030f6cf3864b09ac58691b9f03c1652c17a3f9 /ffserver.c
parent2a546cecbf063950a4e5c3a53b53622ca7ea2be9 (diff)
ffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests
This is needed for QuickTime Player to be able to connect properly. backport r23325 by mstorsjo Originally committed as revision 23383 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 17fa9100bf..a1bd5262f0 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3012,6 +3012,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url)
return;
}
rtsp_reply_header(c, RTSP_STATUS_OK);
+ url_fprintf(c->pb, "Content-Base: %s/\r\n", url);
url_fprintf(c->pb, "Content-Type: application/sdp\r\n");
url_fprintf(c->pb, "Content-Length: %d\r\n", content_length);
url_fprintf(c->pb, "\r\n");