[vlc-commits] mux: dummy: flag headers (fix #13748)

Francois Cartegnie git at videolan.org
Fri Apr 10 18:48:03 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Apr 10 18:43:29 2015 +0200| [fbb1f03c19765cd7438843c9dc763f8fc1846c45] | committer: Francois Cartegnie

mux: dummy: flag headers (fix #13748)

Header flag is required for http streaming.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fbb1f03c19765cd7438843c9dc763f8fc1846c45
---

 modules/mux/dummy.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/mux/dummy.c b/modules/mux/dummy.c
index 7ec7dcc..e7aab6d 100644
--- a/modules/mux/dummy.c
+++ b/modules/mux/dummy.c
@@ -157,6 +157,8 @@ static int Mux( sout_mux_t *p_mux )
             memcpy( p_data->p_buffer, p_mux->pp_inputs[i]->p_fmt->p_extra,
                     p_mux->pp_inputs[i]->p_fmt->i_extra );
 
+            p_data->i_flags |= BLOCK_FLAG_HEADER;
+
             msg_Dbg( p_mux, "writing header data" );
             sout_AccessOutWrite( p_mux->p_access, p_data );
         }



More information about the vlc-commits mailing list