Commit 0cf118e7 authored by Laurent Aimar's avatar Laurent Aimar

* httpd: may fix mmsh for vlc.

parent 7ebe669d
...@@ -713,7 +713,7 @@ static int httpd_StreamCallBack( httpd_callback_sys_t *p_sys, ...@@ -713,7 +713,7 @@ static int httpd_StreamCallBack( httpd_callback_sys_t *p_sys,
httpd_MsgAdd( answer, "Pragma", "no-cache" ); httpd_MsgAdd( answer, "Pragma", "no-cache" );
httpd_MsgAdd( answer, "Pragma", "client-id=%d", rand()&0x7fff ); httpd_MsgAdd( answer, "Pragma", "client-id=%d", rand()&0x7fff );
httpd_MsgAdd( answer, "Pragma", "features=\"broadcast\"" ); httpd_MsgAdd( answer, "Pragma", "features=\"broadcast\"" );
#if 0
/* Check if there is a xPlayStrm=1 */ /* Check if there is a xPlayStrm=1 */
for( i = 0; i < query->i_name; i++ ) for( i = 0; i < query->i_name; i++ )
{ {
...@@ -728,6 +728,7 @@ static int httpd_StreamCallBack( httpd_callback_sys_t *p_sys, ...@@ -728,6 +728,7 @@ static int httpd_StreamCallBack( httpd_callback_sys_t *p_sys,
{ {
answer->i_body_offset = 0; answer->i_body_offset = 0;
} }
#endif
} }
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment