Commit 13a10cd3 authored by Francois Cartegnie's avatar Francois Cartegnie

mux: mp4: set timestamps on empty sub block

parent 09a135f1
......@@ -556,6 +556,8 @@ static int Mux(sout_mux_t *p_mux)
p_stream->i_last_dts += i_length;
/* Write a " " */
p_data->i_dts = p_stream->i_last_dts;
p_data->i_dts = p_data->i_pts;
p_data->p_buffer[0] = 0;
p_data->p_buffer[1] = 1;
p_data->p_buffer[2] = ' ';
......
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