[vlc-commits] mux: dummy: flag headers (fix #13748)
Francois Cartegnie
git at videolan.org
Sun Apr 12 11:24:30 CEST 2015
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Apr 10 18:43:29 2015 +0200| [41759ff356b85e356446dc29eba83a231d52c625] | committer: Jean-Baptiste Kempf
mux: dummy: flag headers (fix #13748)
Header flag is required for http streaming.
(cherry picked from commit fbb1f03c19765cd7438843c9dc763f8fc1846c45)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=41759ff356b85e356446dc29eba83a231d52c625
---
modules/mux/dummy.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/mux/dummy.c b/modules/mux/dummy.c
index 64ad84a..1f896c2 100644
--- a/modules/mux/dummy.c
+++ b/modules/mux/dummy.c
@@ -158,6 +158,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