Commit 8fe7e00b authored by Laurent Aimar's avatar Laurent Aimar

Fixed audio date on rate change in FLAC packetizer.

parent 4dcc2c42
......@@ -478,6 +478,7 @@ static block_t *PacketizeBlock( decoder_t *p_dec, block_t **pp_block )
{
p_dec->fmt_out.audio.i_rate = p_sys->i_rate;
date_Init( &p_sys->end_date, p_sys->i_rate, 1 );
date_Set( &p_sys->end_date, p_sys->i_pts );
}
p_sys->i_state = STATE_NEXT_SYNC;
p_sys->i_frame_size = 1;
......
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