Commit 9ca1d084 authored by François Cartegnie's avatar François Cartegnie 🤞

mux: mp4: set single field duration

parent c88a956c
......@@ -635,6 +635,8 @@ static int Mux(sout_mux_t *p_mux)
p_data->i_length = CLOCK_FREQ *
p_stream-> /
if( p_data->i_flags & BLOCK_FLAG_SINGLE_FIELD )
p_data->i_length >>= 1;
msg_Dbg( p_mux, "video track %u fixup to %"PRId64" for sample %u",
p_stream->mux.i_track_id, p_data->i_length, p_stream->mux.i_entry_count );
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