Enable streaming of transcoded content

This commit is contained in:
Julien BLACHE
2009-05-01 15:33:48 +02:00
parent 2c2498b6b4
commit 7a601d7daa
3 changed files with 190 additions and 71 deletions

View File

@@ -45,6 +45,7 @@
#include "conffile.h"
#include "misc.h"
#include "httpd.h"
#include "transcode.h"
#include "httpd_daap.h"
@@ -1111,7 +1112,7 @@ daap_reply_songlist_generic(struct evhttp_request *req, struct evbuffer *evbuf,
{
nsongs++;
transcode = 0; /* FIXME: No transcode support here yet */
transcode = transcode_needed(req->input_headers, dbmfi->codectype);
i = -1;
while (1)