Commit 41759ff3 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

mux: dummy: flag headers (fix #13748)

Header flag is required for http streaming.

(cherry picked from commit fbb1f03c19765cd7438843c9dc763f8fc1846c45)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5a1cf7db
...@@ -158,6 +158,8 @@ static int Mux( sout_mux_t *p_mux ) ...@@ -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, memcpy( p_data->p_buffer, p_mux->pp_inputs[i]->p_fmt->p_extra,
p_mux->pp_inputs[i]->p_fmt->i_extra ); p_mux->pp_inputs[i]->p_fmt->i_extra );
p_data->i_flags |= BLOCK_FLAG_HEADER;
msg_Dbg( p_mux, "writing header data" ); msg_Dbg( p_mux, "writing header data" );
sout_AccessOutWrite( p_mux->p_access, p_data ); sout_AccessOutWrite( p_mux->p_access, p_data );
} }
......
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